std.json.JsonObject.GetBool - nitrologic/monkey2 GitHub Wiki

std::std.json.std.json.JsonObject.GetBool

Method GetBool:monkey:monkey.types.Bool( key:monkey:monkey.types.String )

Gets a bool from an object.

Returns the bool value associated with key, or false if key does not exist or the value associated with key is not a bool.

Parameters
key key Object key.