Class Predicate

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(property: string, operator: string, value: any, valueIsLiteral?: boolean): Predicate

Parameters

  • property: string
  • operator: string
  • value: any
  • valueIsLiteral?: boolean optional

Returns

Predicate

constructor(property: string, operator: FilterQueryOpSymbol, value: any, valueIsLiteral?: boolean): Predicate

Parameters

Returns

Predicate

Properties

public static and: PredicateMethod

public and: PredicateMethod

public static create: PredicateMethod

public static or: PredicateMethod

public or: PredicateMethod

Methods

public static isPredicate(o: any): boolean

Parameters

  • o: any

Returns

boolean

public static not(predicate: Predicate): Predicate

Parameters

Returns

Predicate

public not(): Predicate

Returns

Predicate

public toFunction(): Function

Returns

Function

public toString(): string

Returns

string

public validate(entityType: EntityType)

Parameters