Decimal.isInfinite

bool isInfinite() const @safe pure nothrow @nogc

True for ±Infinity.