MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / decode_array

Function decode_array

shared/rison.ts:256–258  ·  view source on GitHub ↗
(r: string)

Source from the content-addressed store, hash-verified

254 * this simply adds array markup around the string before parsing.
255 */
256export function decode_array(r: string) {
257 return decode('!(' + r + ')');
258}
259
260export type JSONValue = string | number | boolean | null | undefined | {[x: string]: JSONValue} | Array<JSONValue>;
261

Callers

nothing calls this directly

Calls 1

decodeFunction · 0.85

Tested by

no test coverage detected