FilterGroup<M>A group of validation constraints that are logically combined. Contains at least one Check.
modelsCheck
Source effect/SchemaRepresentation.ts:5165 lines
export interface interface FilterGroup<M>A group of validation constraints that are logically combined. Contains
at least one
Check
.
FilterGroup<function (type parameter) M in FilterGroup<M>M> {
readonly FilterGroup<M>._tag: "FilterGroup"_tag: "FilterGroup"
readonly FilterGroup<M>.annotations?: anyannotations?: import SchemaSchema.declareAnnotations.type Schema.Annotations.Filter = /*unresolved*/ anyFilter | undefined
readonly FilterGroup<M>.checks: readonly [Check<M>, ...Array<Check<M>>](property) FilterGroup<M>.checks: {
0: Check<M>;
length: number;
toString: () => string;
toLocaleString: { (): string; (locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string };
concat: { (...items: Array<ConcatArray<Check<M>>>): Array<Check<M>>; (...items: Array<Check<M> | ConcatArray<Check<M>>>): Array<Check<M>> };
join: (separator?: string) => string;
slice: (start?: number, end?: number) => Array<Check<M>>;
indexOf: (searchElement: Check<M>, fromIndex?: number) => number;
lastIndexOf: (searchElement: Check<M>, fromIndex?: number) => number;
every: { (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => value is S, thisArg?: any): this is readonly S[]; (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => unknown, thisArg?: any): bo…;
some: (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => unknown, thisArg?: any) => boolean;
forEach: (callbackfn: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => void, thisArg?: any) => void;
map: (callbackfn: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => U, thisArg?: any) => Array<U>;
filter: { (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => value is S, thisArg?: any): Array<S>; (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => unknown, thisArg?: any): Array<Check<M>…;
reduce: { (callbackfn: (previousValue: Check<M>, currentValue: Check<M>, currentIndex: number, array: ReadonlyArray<Check<M>>) => Check<M>): Check<M>; (callbackfn: (previousValue: Check<M>, currentValue: Check<M>, currentIndex: number, array: Read…;
reduceRight: { (callbackfn: (previousValue: Check<M>, currentValue: Check<M>, currentIndex: number, array: ReadonlyArray<Check<M>>) => Check<M>): Check<M>; (callbackfn: (previousValue: Check<M>, currentValue: Check<M>, currentIndex: number, array: Read…;
find: { (predicate: (value: Check<M>, index: number, obj: ReadonlyArray<Check<M>>) => value is S, thisArg?: any): S | undefined; (predicate: (value: Check<M>, index: number, obj: ReadonlyArray<Check<M>>) => unknown, thisArg?: any): Check<M> | un…;
findIndex: (predicate: (value: Check<M>, index: number, obj: ReadonlyArray<Check<M>>) => unknown, thisArg?: any) => number;
entries: () => ArrayIterator<[number, Check<M>]>;
keys: () => ArrayIterator<number>;
values: () => ArrayIterator<Check<M>>;
includes: (searchElement: Check<M>, fromIndex?: number) => boolean;
flatMap: (callback: (this: This, value: Check<M>, index: number, array: Array<Check<M>>) => U | ReadonlyArray<U>, thisArg?: This | undefined) => Array<U>;
flat: (this: A, depth?: D | undefined) => Array<FlatArray<A, D>>;
at: (index: number) => Check<M> | undefined;
findLast: { (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => value is S, thisArg?: any): S | undefined; (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => unknown, thisArg?: any): Check<M> …;
findLastIndex: (predicate: (value: Check<M>, index: number, array: ReadonlyArray<Check<M>>) => unknown, thisArg?: any) => number;
toReversed: () => Array<Check<M>>;
toSorted: (compareFn?: ((a: Check<M>, b: Check<M>) => number) | undefined) => Array<Check<M>>;
toSpliced: { (start: number, deleteCount: number, ...items: Array<Check<M>>): Array<Check<M>>; (start: number, deleteCount?: number): Array<Check<M>> };
with: (index: number, value: Check<M>) => Array<Check<M>>;
}
checks: readonly [type Check<M> = Filter<M> | FilterGroup<M>A validation constraint attached to a type. Either a single
Filter
or a
FilterGroup
combining multiple checks.
Check<function (type parameter) M in FilterGroup<M>M>, ...interface Array<T>Array<type Check<M> = Filter<M> | FilterGroup<M>A validation constraint attached to a type. Either a single
Filter
or a
FilterGroup
combining multiple checks.
Check<function (type parameter) M in FilterGroup<M>M>>]
}Referenced by 1 symbols