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

Function isCSS

lib/locator.js:699–701  ·  view source on GitHub ↗

* @private * Checks if `locator` is CSS locator * @param {string} locator * * @returns {boolean}

(locator)

Source from the content-addressed store, hash-verified

697 * @returns {boolean}
698 */
699function isCSS(locator) {
700 return locator[0] === '#' || locator[0] === '.' || locator[0] === '['
701}
702
703/**
704 * @private

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected