MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / ckpt_json_is_array

Function ckpt_json_is_array

common/script/json_api.cpp:112–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void ckpt_json_is_array(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
113{
114 ReturnValue->Val->Integer = tree(ScriptArgs(Parser, Param, NumArgs, "json_is_array"), 0)->is_array() ? 1 : 0;
115}
116
117void ckpt_json_is_object(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
118{

Callers

nothing calls this directly

Calls 2

treeFunction · 0.85
ScriptArgsClass · 0.85

Tested by

no test coverage detected