UNPKG

@versatiledatakit/shared

Version:

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

17 lines (16 loc) 457 B
import { Criteria } from '../../interfaces'; /** * ** Primitive Criteria that check equals by reference or if primitive by value, using === */ export declare class PrimitiveCriteria<T extends object> implements Criteria<T> { private _property; private _assertionValue; /** * ** Constructor. */ constructor(property: keyof T, assertionValue: T[keyof T]); /** * @inheritDoc */ meetCriteria(elements: T[]): T[]; }