Signature
native bool:json_array_replace_bool(JSON:array, index, bool:boolean);
Description
Replaces an element in the array with boolean value.
Parameters
- array — Array handle
- index — Position in the array to be replaced
- boolean — Boolean value to set
Returns
True if succeed, false otherwise
Errors
- If passed handle is not a valid array