std.json.JsonValue.ToBool - nitrologic/monkey2 GitHub Wiki

std::std.json.std.json.JsonValue.ToBool

Method ToBool:monkey:monkey.types.Bool( )

Gets bool value.

If the value is a bool, returns its actual value.

If the value is not a bool, false is returned by default.