Function 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

NameDescription
value any value

Returns

true if truthy

Since

- 0.0.1