ArgValue.asBool

bool asBool() const @safe pure nothrow @nogc

Returns the value as a boolean.

Returns

The boolean value, or false if not a boolean type.