MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / isXPathStartingWithRoundBrackets

Function isXPathStartingWithRoundBrackets

lib/locator.js:739–741  ·  view source on GitHub ↗

* @private * Checks if xpath starts with `(` * @param {string} xpath * @returns {boolean}

(xpath)

Source from the content-addressed store, hash-verified

737 * @returns {boolean}
738 */
739function isXPathStartingWithRoundBrackets(xpath) {
740 return isXPath(xpath) && xpath[0] === '('
741}
742
743/**
744 * @private

Callers 1

convertToSubSelectorFunction · 0.85

Calls 1

isXPathFunction · 0.85

Tested by

no test coverage detected