UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

13 lines (12 loc) 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isObject; /** * Checks if value is the language type of Object. * (e.g. arrays, functions, objects, regexes, new Number(0), and new String('')) * Drop-in replacement for lodash/isObject. */ function isObject(value) { const type = typeof value; return value != null && (type === 'object' || type === 'function'); }