Files
Photography_Form_Front_End/node_modules/graphql/jsutils/isObjectLike.js
2025-05-15 13:35:49 +10:00

15 lines
339 B
JavaScript

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