code: function text(node) {
    var data = node.data || {}
  
    if (
      own.call(data, 'hName') ||
      own.call(data, 'hProperties') ||
      own.call(data, 'hChildren')
    ) {
      return false
    }
  
    return 'value' in node
  }
docs: Check if the node should be renderered a text node.