Skip to content

Some validation functions do not check for existence of a value #21

@EECOLOR

Description

@EECOLOR

For example:

export const number = x => Number(x) !== x && error('number')

If x is empty it will report a number error. This makes optional number fields impossible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions