INNER CODE UNIT · TypeScript
isObject
thebigredgeek/apollo-errors · src/index.ts:5
const isObject = d => Object.prototype.toString.call(d) === '[object Object]';
export interface ErrorConfig {
message: string;
time_thrown?: string;
data?: object;
internalData?: object;
options?: {
showPath?: boolean;
showLocations?: boolean;
};
}
export interface ErrorInfo {
message: string;
name: string;
time_thrown: string;
data?: object;