var.isFloat

bool isFloat() @property const nothrow @nogc pure @safe

Returns true if this is any floating-point type (FLOAT, DOUBLE, REAL).

Returns

true if this is a floating-point var, false otherwise.