isSmartInt

Evaluates to true if T is an instance of SmartInt.

@safe
enum isSmartInt (
T
)

Examples

import checkedint.throws : SmartInt, SafeInt; // use IntFlagPolicy.throws

assert( isSmartInt!(SmartInt!int));

assert(!isSmartInt!int);
assert(!isSmartInt!(SafeInt!int));

Meta