ArgValue.isTrue
bool isTrue() const @safe pure nothrow @nogcChecks if this value represents a "true" condition.
Returns true if:
- The value is a boolean true
- The value is a non-empty string
- The value is a non-zero integer
- The value is a non-zero floating point number (and not NaN)
- The value is a non-empty list
Returns
true if the value represents a truthy condition.