isNotType<V> function

_WhenCheck isNotType<V>()

Allows for checking if a when value is not of a certain type.

Implementation

_WhenCheck isNotType<V>() => <T>(value) => value is! V;