MCPcopy Create free account
hub / github.com/Quartz/Chartbuilder / validate_chart_model

Function validate_chart_model

src/js/util/validate-chart-model.js:8–24  ·  view source on GitHub ↗

* Test whether a string is a valid Chartbuilder model * @param {string} modelStr - unparsed string of chart model JSON * @returns {object or null} parsed - parsed object * @static * @memberof helper

(modelStr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected