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

Function isPromise

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

Source from the content-addressed store, hash-verified

1315 * import { Predicate } from "effect"
1316 *
1317 * const data: unknown = Promise.resolve(1)
1318 *
1319 * Predicate.isPromise(data) // => true
1320 * ```
1321 *
1322 * @see {@link isPromiseLike}

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…