lib/one.js
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
}
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
}
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 }
Check if the node should be renderered a text node.
Check if the node should be renderered a text node .