effect-io-ai

Package: effect
Module: Schema

Schema.BooleanFromUnknown

Converts an arbitrary value to a boolean by testing whether it is truthy. Uses !!val to coerce the value to a boolean.

See

Signature

declare class BooleanFromUnknown

Source

Since v3.10.0