Checks if the given value is present in the provided array, string, or object keys.
isIn(value, values): boolean
Parameters
value: string
The value to search for.
values: string | object | any[]
The allowed values to check against. If a string is provided, it is checked against individual characters. If an object is provided, its keys are used for comparison.
Checks if the given value is present in the provided array, string, or object keys.