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 = x => Object.prototype.toString.call(x) === '[object Array]';
17 _isArray = Array.isArray;
20 export const isArray = _isArray;