default
default: () => number
options
options: { default?: number | () => number; required: boolean }
q$exists
q$exists: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
q$max
q$max: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
q$min
q$min: (value: unknown, query: unknown, data?: unknown) => boolean
Type declaration
- (value: unknown, query: unknown, data?: unknown): boolean
Parameters
- value: unknown
- query: unknown
Optional
data: unknown
Returns boolean
Number schema type.