tools/internal-rules/no-invalid-meta.js
function hasMetaDocsDescription(metaPropertyNode) {
    const metaDocs = getPropertyFromObject("docs", metaPropertyNode.value);

    return metaDocs && getPropertyFromObject("description", metaDocs.value);
}
function hasMetaDocsDescription(metaPropertyNode) {
    const metaDocs = getPropertyFromObject("docs", metaPropertyNode.value);

    return metaDocs && getPropertyFromObject("description", metaDocs.value);
}
function hasMetaDocsDescription ( metaPropertyNode ) { const metaDocs = getPropertyFromObject ( "docs" , metaPropertyNode . value ) ; return metaDocs && getPropertyFromObject ( "description" , metaDocs . value ) ; }
Whether this `meta` ObjectExpression has a `docs.description` property defined or not.

@param {ASTNode} metaPropertyNode The `meta` ObjectExpression for this rule.
@returns {boolean} `true` if a `docs.description` property exists.
Whether this meta ObjectExpression has a docs . description property defined or not .