INNER CODE UNIT · TypeScript

NodeBoolean

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

  function NodeBoolean(label, val, isLast) {
    this.type = 'boolean'

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

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…