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

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

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

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