Package: effect
Module: Effect
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
Signature
declare const isEffect: (u: unknown) => u is Effect<any, any, any>
Since v2.0.0