MCPcopy Create free account
hub / github.com/effect-app/libs / isPromiseLike

Function isPromiseLike

repos/effect/packages/effect/src/Predicate.ts:1347–1349  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1345 * import { Predicate } from "effect"
1346 *
1347 * const data: unknown = { then: () => {} }
1348 *
1349 * Predicate.isPromiseLike(data) // => true
1350 * ```
1351 *
1352 * @see {@link isPromise}

Callers

nothing calls this directly

Calls 1

isFunctionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…