effect-io-ai

Package: effect
Module: Match

Match.instanceOf

Matches instances of a given class.

Signature

declare const instanceOf: <A extends abstract new (...args: any) => any>(constructor: A) => SafeRefinement<InstanceType<A>, never>

Source

Since v1.0.0