function getValueName(node) {
  return node.type === 'Property'
    && node.value.property
    && node.value.property.name;
}
Returns the value name of a node.

@param {ASTNode} node the node to check.
@returns {string} The name of the node.