lib/rules/require-meta-docs-url.js
function isExpectedUrl (node) {
      return Boolean(
        node &&
        node.type === 'Literal' &&
        typeof node.value === 'string' &&
        (
          expectedUrl === undefined ||
          node.value === expectedUrl
        )
      );
    }
function isExpectedUrl (node) {
      return Boolean(
        node &&
        node.type === 'Literal' &&
        typeof node.value === 'string' &&
        (
          expectedUrl === undefined ||
          node.value === expectedUrl
        )
      );
    }
function isExpectedUrl ( node ) { return Boolean ( node && node . type === 'Literal' && typeof node . value === 'string' && ( expectedUrl === undefined || node . value === expectedUrl ) ) ; }
Check whether a given node is the expected URL.
@param {Node} node The node of property value to check.
@returns {boolean} `true` if the node is the expected URL.
Check whether a given node is the expected URL .