Files
e-tib.com/node_modules/.pnpm/graphql@16.13.2/node_modules/graphql/jsutils/isObjectLike.mjs
Marc Mintel d14122005d Initial commit: E-TIB production hardening & E2E foundation
Former-commit-id: ef04fca3d76375630c05aac117bf586953f3b657
2026-04-28 19:11:38 +02:00

8 lines
227 B
JavaScript

/**
* Return true if `value` is object-like. A value is object-like if it's not
* `null` and has a `typeof` result of "object".
*/
export function isObjectLike(value) {
return typeof value == 'object' && value !== null;
}