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

Function ckpt_json_is_object

common/script/json_api.cpp:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void ckpt_json_is_object(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
118{
119 ReturnValue->Val->Integer = tree(ScriptArgs(Parser, Param, NumArgs, "json_is_object"), 0)->is_object() ? 1 : 0;
120}
121
122void ckpt_json_get_int(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
123{

Callers

nothing calls this directly

Calls 2

treeFunction · 0.85
ScriptArgsClass · 0.85

Tested by

no test coverage detected