INNER CODE UNIT · TypeScript

NodeNumber

zhenorzz/goploy · web/src/components/JSONTree/index.ts:358

  function NodeNumber(label, val, isLast) {
    this.type = 'number'

    _NodeSimple.call(this, label, val, isLast)
  }
  utils.inherits(NodeNumber, _NodeSimple)

  /*
   * The constructor for string values
   * {...
   * [+] "label": string,
   * ...}
   * string = "abc"
   *
   * @constructor
   * @param label {string} - key name
   * @param val {string} - value of string type, for example "abc"
   * @param isLast {boolean} - true if node is last in list of parent childNodes

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…