UNPKG

@alessiofrittoli/web-utils

Version:
1 lines 515 B
var i=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",u=n=>!!n&&(c(n)||r(n)),c=n=>!!n&&typeof n=="object"&&o(n.constructor),r=n=>!!n&&typeof n=="object"&&t(n.constructor);export{t as isAsyncGeneratorFunction,r as isAsyncGeneratorObject,o as isDefaultGeneratorFunction,c as isDefaultGeneratorObject,i as isGeneratorFunction,u as isGeneratorObject};