Core
struct.boolean
Struct that accepts boolean values.
@defjs/core · Function
Signature
function boolean(): Struct<boolean, boolean>;
Accepts true and false only. Other values, including 'true' and 1, fail with invalid_type.
Struct that accepts boolean values.
@defjs/core · Function
function boolean(): Struct<boolean, boolean>;
Accepts true and false only. Other values, including 'true' and 1, fail with invalid_type.