surrogate
Version:
Object method hooks made easy
17 lines (14 loc) • 1.38 kB
JavaScript
const $8c13fb1fbdc14b86$export$630801d484da15df = (value)=>value === null;
const $8c13fb1fbdc14b86$export$28ac561dc09c20ca = (value)=>$8c13fb1fbdc14b86$var$isType(value, 'boolean');
const $8c13fb1fbdc14b86$export$f6e2535fb5126e54 = (value)=>$8c13fb1fbdc14b86$var$isType(value, 'function');
const $8c13fb1fbdc14b86$export$fce6876652108ab = (value)=>$8c13fb1fbdc14b86$var$isType(value, 'undefined');
const $8c13fb1fbdc14b86$export$a6cdc56e425d0d0a = (value)=>$8c13fb1fbdc14b86$var$isType(value, 'object') && !$8c13fb1fbdc14b86$export$630801d484da15df(value) && !Array.isArray(value);
const $8c13fb1fbdc14b86$var$isType = (value, type)=>typeof value === type;
const $8c13fb1fbdc14b86$export$aefee5ebe1dcfd9e = (func)=>{
return func[Symbol.toStringTag] === 'AsyncFunction';
};
const $8c13fb1fbdc14b86$export$ae936b9d47e5870e = (value)=>{
return value instanceof Promise || $8c13fb1fbdc14b86$export$f6e2535fb5126e54(value?.then);
};
export {$8c13fb1fbdc14b86$export$630801d484da15df as isNull, $8c13fb1fbdc14b86$export$28ac561dc09c20ca as isBool, $8c13fb1fbdc14b86$export$f6e2535fb5126e54 as isFunction, $8c13fb1fbdc14b86$export$fce6876652108ab as isUndefined, $8c13fb1fbdc14b86$export$a6cdc56e425d0d0a as isObject, $8c13fb1fbdc14b86$export$aefee5ebe1dcfd9e as isAsync, $8c13fb1fbdc14b86$export$ae936b9d47e5870e as isPromiseLike};
//# sourceMappingURL=surrogate.68fc8564.js.map