mg_value_bool

Returns non-zero value if value contains true, zero otherwise.

Type check should be made first. Accessing the wrong value results in undefined behavior.

extern (C) @safe @nogc pure nothrow
bool
mg_value_bool
(
const mg_value* val
)

Meta