UNPKG

@alessiofrittoli/web-utils

Version:
1 lines 550 B
'use strict';var e=n=>!!n&&(o(n)||t(n)),o=n=>!!n&&(typeof n=="function"||typeof n=="object")&&n.constructor.name==="GeneratorFunction",t=n=>!!n&&(typeof n=="function"||typeof n=="object")&&n.constructor.name==="AsyncGeneratorFunction",i=n=>!!n&&(c(n)||r(n)),c=n=>!!n&&typeof n=="object"&&o(n.constructor),r=n=>!!n&&typeof n=="object"&&t(n.constructor);exports.isAsyncGeneratorFunction=t;exports.isAsyncGeneratorObject=r;exports.isDefaultGeneratorFunction=o;exports.isDefaultGeneratorObject=c;exports.isGeneratorFunction=e;exports.isGeneratorObject=i;