MCPcopy
hub / github.com/Effect-TS/effect / isGeneratorFunction

Function isGeneratorFunction

packages/effect/src/Utils.ts:808–809  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

806 * @since 3.11.0
807 */
808export const isGeneratorFunction = (u: unknown): u is (...args: Array<any>) => Generator<any, any, any> =>
809 isObject(u) && u.constructor === genConstructor

Callers 1

fnApplyFunction · 0.85

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…