Hyperlinkv0.8.0-beta.28

Effect

Effect.isEffectconsteffect/Effect.ts:229
(u: unknown): u is Effect<any, any, any>

Checks whether a value is an Effect.

Example (Checking whether a value is an Effect)

import { Effect } from "effect"

console.log(Effect.isEffect(Effect.succeed(1))) // true
console.log(Effect.isEffect("hello")) // false
guards
Source effect/Effect.ts:2291 lines
export const isEffect: (u: unknown) => u is Effect<any, any, any> = core.isEffect
Referenced by 14 symbols