Interface Schema

Schema for integer value.

The schema is created by ucInteger function.

Hierarchy

Properties

nullable?: boolean

Whether the data is nullable.

When true the data value may be null.

Default Value

false, which means null data value prohibited.

optional?: boolean

Whether the data is optional.

When true the data value may be undefined.

Default Value

false, which means undefined data value prohibited.

type: "integer"

Integer schema type is always integer.

where?: UcConstraints<number, UcSchema<number>>

Schema constraints.

within?: UcPresentations<number>

Schema instance presentation constraints.

Methods

Generated using TypeDoc