isExact<TOther> method

bool isExact<TOther>()
inherited

Returns true if TOther is exactly T.

Implementation

bool isExact<TOther>() => T == TOther;