INNER CODE UNIT · TypeScript
NodeString
zhenorzz/goploy · web/src/components/JSONTree/index.ts:377
function NodeString(label, val, isLast) {
this.type = 'string'
_NodeSimple.call(this, label, '"' + val + '"', isLast)
}
utils.inherits(NodeString, _NodeSimple)
/*
* The constructor for null values
* {...
* [+] "label": null,
* ...}
*
* @constructor
* @param label {string} - key name
* @param val {null} - value (only null)
* @param isLast {boolean} - true if node is last in list of parent childNodes
*/