• Define field of type boolean. Default initial value will be false. Accepts boolean values and string "true" | "false".

    Returns FieldDecoder<boolean>

    Example

    const Schema = new FormSchemaBuilder()
    .fields({
    x: FormFields.bool() // x: boolean
    })
    .build()

Generated using TypeDoc