MCPcopy Create free account
hub / github.com/ElementsProject/lightning / json_tok_is_null

Function json_tok_is_null

common/json_parse_simple.c:132–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132bool json_tok_is_null(const char *buffer, const jsmntok_t *tok)
133{
134 if (tok->type != JSMN_PRIMITIVE)
135 return false;
136 return buffer[tok->start] == 'n';
137}
138
139const jsmntok_t *json_next(const jsmntok_t *tok)
140{

Callers 3

plugin_opt_addFunction · 0.85
mainFunction · 0.85
parse_by_positionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected