equalsType<T_ID, Y> function

bool equalsType<T_ID, Y>()

Checks if the type T is equal to type Y (nullable or non-nullable).

Implementation

bool equalsType<T_ID, Y>() => _equalsType<T_ID, Y>() || _equalsType<T_ID, Y?>();