eq

source

eq<R, F extends string | number | symbol>(field: F, value: R[F]): ScalarPredicatesource

Returns a predicate that evaluates to true if the value of the field is equal to the value of the argument.