MCPcopy Index your code
hub / github.com/dataease/SQLBot / hasElementSourceMap

Function hasElementSourceMap

frontend/public/swagger-ui-bundle.js:42197–42204  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

42195 isElementType('string', s) ||
42196 isElementType('null', s) ||
42197 isElementType('member', s),
42198 hasElementSourceMap = (s) =>
42199 !!Cu(s) &&
42200 Number.isInteger(s.startPositionRow) &&
42201 Number.isInteger(s.startPositionColumn) &&
42202 Number.isInteger(s.startIndex) &&
42203 Number.isInteger(s.endPositionRow) &&
42204 Number.isInteger(s.endPositionColumn) &&
42205 Number.isInteger(s.endIndex),
42206 includesSymbols = (s, o) => {
42207 if (0 === s.length) return !0

Callers 3

cloneShallowElementFunction · 0.85
copyMetaAndAttributesMethod · 0.85
copyMetaAndAttributesMethod · 0.85

Calls 1

CuFunction · 0.50

Tested by

no test coverage detected