isIn<T> function
_WhenCheck
isIn<T>(
- Iterable<
T> list
Allows for checking if a when value is in a list.
Implementation
_WhenCheck isIn<T>(Iterable<T> list) => <T>(value) => list.contains(value);