notNull<T> function

Predicate<T?> notNull<T>()

Implementation

Predicate<T?> notNull<T>() {
  return (T? x) => x != null;
}