Package: effect
Module: Context
Checks whether the provided argument is a Key.
Example (Checking for keys)
import { Context } from "effect"
import * as assert from "node:assert"
assert.strictEqual(Context.isKey(Context.Service("Service")), true)
Signature
declare const isKey: (u: unknown) => u is Key<any, any>
Since v4.0.0