MCPcopy Create free account
hub / github.com/Snowflyt/tinyeffect / isGenerator

Function isGenerator

src/effected.ts:2846–2847  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2844 * @returns
2845 */
2846const isGenerator = (value: unknown): value is Generator =>
2847 Object.prototype.toString.call(value) === "[object Generator]";
2848
2849/**
2850 * Check if a value is an `EffectedIterator` (i.e., an {@link Iterator} with an `_effectedIterator`

Callers 8

handleMethod · 0.85
resumeMethod · 0.85
terminateMethod · 0.85
andThenMethod · 0.85
tapMethod · 0.85
zipMethod · 0.85
catchAllMethod · 0.85
handleEffectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected