containsOneOf

source

containsOneOf<R, F extends string | number | symbol>(field: F, value: ElementType<R[F]>[]): ListPredicatesource

Returns a predicate that evaluates to true if the field is a collection that contains any of the values of the argument. Works for array, map, and set fields.