Skip to main content

emptyValue()

@gravity-rail/react


@gravity-rail/react / emptyValue

Function: emptyValue()

emptyValue(field): unknown

The empty seed for a field of the given type ("" for text, false for boolean).

Parameters​

field​

SchemaField

Returns​

unknown