Home > @websublime/schema > BooleanType

BooleanType() function

Creates instance BooleanType

Signature:

export declare function BooleanType(errorMessage?: string): BooleanSchemaType;

Parameters

ParameterTypeDescription
errorMessagestringError message

Returns:

BooleanSchemaType