UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

22 lines (21 loc) 619 B
import { Comparable, Predicate } from '../../interfaces'; import { PredicatesComparable } from '../comparable'; export declare abstract class CompoundPredicate implements Predicate<PredicatesComparable, Comparable> { /** * @inheritDoc */ readonly comparable: PredicatesComparable; /** * ** Constructor. */ constructor(comparable: PredicatesComparable); constructor(...predicates: Predicate[]); /** * ** Factory method. */ static of(..._args: unknown[]): CompoundPredicate; /** * @inheritDoc */ abstract evaluate(value: Comparable): boolean; }