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

Function ckpt_json_is_string

common/script/json_api.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void ckpt_json_is_string(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
108{
109 ReturnValue->Val->Integer = tree(ScriptArgs(Parser, Param, NumArgs, "json_is_string"), 0)->is_string() ? 1 : 0;
110}
111
112void ckpt_json_is_array(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
113{

Callers

nothing calls this directly

Calls 2

treeFunction · 0.85
ScriptArgsClass · 0.85

Tested by

no test coverage detected