isTruthy

Returns true if value is "truthy", i.e. not any of false, null, 0, "", none, NaN, or empty.

bool
isTruthy
(
T
)
(
auto ref T value
)

Parameters

value
Type: T

any value

Return Value

Type: bool

true if truthy

Meta

Since

- 0.0.1