default
default: () => boolean
options
options: { default?: boolean | () => boolean; 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
Boolean schema type.