mrdocs::js::Value::operator bool
Determine if a value is truthy
Synopsis
Declared in <mrdocs/Engines/JavaScript/Value.hpp>
explicit
operator bool() const noexcept;
Description
A value is truthy if it is a boolean and is true, a number and not zero, or an non‐empty string, array or object.
Return Value
true if the value is truthy, false otherwise
Created with MrDocs