isIn<T> function

_WhenCheck isIn<T>(
  1. 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);