UNPKG

ember-changeset

Version:
13 lines (10 loc) 335 B
import { isArray } from '@ember/array'; /** * Employ Ember strategies for isObject detection * @method isObject */ function isObject(val) { return val !== null && typeof val === 'object' && !(val instanceof Date || val instanceof RegExp) && !isArray(val); } export { isObject as default }; //# sourceMappingURL=is-object.js.map