isNullable<T> function

bool isNullable<T>()

Whether the specified type is nullable.

Implementation

bool isNullable<T>() => null is T;