grip_json_object_has_value

Checks if the object has a value with a specific name and type.

Syntax

native bool:grip_json_object_has_value(const GripJSONValue:object, const name[], GripJSONType:type = GripJSONError, bool:dot_not = false)

Usage

object Object handle
name Key name
type Type of value, if JSONError type will not be checked
dot_not True to use dot notation, false to not

Return

True — if has, false if not

Errors

If passed handle is not a valid object

Defined in grip.inc at line 904 . This documentation was automatically generated from source.