isTrue

Tells whether the entry value presents true

@nogc @safe pure nothrow
bool
isTrue
(
string value
)

Examples

assert(isTrue("true"));
assert(isTrue("1"));
assert(!isTrue("not boolean"));

Meta