CompoundPredicate

source

Constructors

new CompoundPredicate<R, Ts extends FilterPredicate[] = FilterPredicate<R>[]>(type: CompoundPredicateType, list: Ts): CompoundPredicatesource

Properties

readonlylist: Tssource

readonlytype: CompoundPredicateTypesource

inherited from BasePredicate.type

readonlystatictypeNameMap: Record<CompoundPredicateType, string>source

Methods

Instance methods

serialise(metadata: ReflectionMetadata): anysource

toString(): stringsource

Inherited methods

toJSON(): neversource

inherited from BasePredicate.toJSON

staticapplyFieldGuards<T>(target: AbstractCtor<T>, item: any, tracer: Tracer): Maybe<T>source

inherited from BasePredicate.applyFieldGuards

staticvalidate<T extends ValidatableType<T>>(this: AbstractCtor<T> & CanHaveValidateHook<T>, item: any, tracer: Tracer = ...): Maybe<T>source

inherited from BasePredicate.validate

staticwithFields<T extends FieldDict>(fields: T): Validatable<MaterialisedType<T>> & Ctor<MaterialisedType<T>>source

inherited from BasePredicate.withFields