1 export function objectOrFunction(x) {
2 return typeof x === 'function' || (typeof x === 'object' && x !== null);
5 export function isFunction(x) {
6 return typeof x === 'function';
9 export function isMaybeThenable(x) {
10 return typeof x === 'object' && x !== null;
15 _isArray = function (x) {
16 return Object.prototype.toString.call(x) === '[object Array]';
19 _isArray = Array.isArray;
22 export var isArray = _isArray;