options
options: { default?: I[] | () => I[]; required: boolean } & { child?: T } 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$length
q$length: (value?: unknown[], query?: unknown, data?: unknown) => boolean
Type declaration
- (value?: unknown[], query?: unknown, data?: unknown): boolean
Parameters
Optional
value: unknown[]Optional
query: unknownOptional
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
u$append
u$append: <T>(value?: T[], update?: T | T[], data?: unknown) => T[] Type declaration
- <T>(value?: T[], update?: T | T[], data?: unknown): T[]
Parameters
Optional
value: T[]Optional
update: T | T[]Optional
data: unknown
Returns T[]
u$prepend
u$prepend: <T>(value?: T[], update?: T | T[], data?: unknown) => T[] Type declaration
- <T>(value?: T[], update?: T | T[], data?: unknown): T[]
Parameters
Optional
value: T[]Optional
update: T | T[]Optional
data: unknown
Returns T[]
Array schema type.