Method StringNin
StringNin(string, IEnumerable<StringOrRegularExpression>)
Returns true if s is not present in values (corresponds to the $nin filter operator).
Parameters
s
stringThe value to test.
values
IEnumerable<StringOrRegular >Expression The values to test against.
Returns
- bool
True if s is not present in values.
StringNin(string, params StringOrRegularExpression[])
Returns true if s is not present in values (corresponds to the $nin filter operator).
Parameters
s
stringThe value to test.
values
StringOrRegular []Expression The values to test against.
Returns
- bool
True if s is not present in values.