Search
Preparing search index...
The search index is not available
solid-schema
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
solid-schema
<internal>
BooleanField
Class BooleanField
Boolean field.
example
const
schema
=
fields
.
boolean
();
schema
.
create
(
true
);
Hierarchy
FieldModel
<
boolean
>
BooleanField
Index
Constructors
constructor
Accessors
name
type
Methods
check
create
validate
Constructors
constructor
new
Boolean
Field
(
)
:
BooleanField
Returns
BooleanField
Accessors
name
get
name
(
)
:
string
Returns
string
type
get
type
(
)
:
string
Returns
string
Methods
check
check
(
value
:
unknown
)
:
boolean
Parameters
value:
unknown
Returns
boolean
create
create
(
value
:
boolean
)
:
boolean
Parameters
value:
boolean
Returns
boolean
validate
validate
(
value
:
unknown
, key
?:
string
)
:
true
Parameters
value:
unknown
key:
string
= "value"
Returns
true
Exports
<internal>
fields
Boolean
Field
constructor
name
type
check
create
validate
Generated using
TypeDoc
Boolean field.