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