UnaryPredicate
sourceConstructors
new UnaryPredicate<R, F extends string | number | symbol = keyof R>(type: IsNull, field: F): UnaryPredicatesource
Properties
field: Fsource
inherited from
BasePredicate.type
typeNameMap: Record<IsNull, string>source
Methods
Instance methods
serialise(): JsonValuesource
toString(): stringsource
Inherited methods
toJSON(): neversource
inherited from
BasePredicate.toJSON
applyFieldGuards<T>(target: AbstractCtor<T>, item: any, tracer: Tracer): Maybe<T>source
inherited from
BasePredicate.applyFieldGuards
validate<T extends ValidatableType<T>>(this: AbstractCtor<T> & CanHaveValidateHook<T>, item: any, tracer: Tracer = ...): Maybe<T>source
inherited from
BasePredicate.validate
withFields<T extends FieldDict>(fields: T): Validatable<MaterialisedType<T>> & Ctor<MaterialisedType<T>>source
inherited from
BasePredicate.withFields