isNullable<T> function

bool isNullable<T>()

Returns whether the given type T is a nullable of the given non-nullable type C.

Implementation

@pragma("vm:always-consider-inlining")
bool isNullable<T>() => null is T;