effect-io-ai

Package: effect
Module: Pool

Pool.isPool

Returns true if the specified value is a Pool, false otherwise.

When to use

Use to validate unknown values at runtime boundaries before treating them as Pool values.

Details

This predicate narrows the input to Pool<unknown, unknown>.

Signature

declare const isPool: (u: unknown) => u is Pool<unknown, unknown>

Source

Since v2.0.0