MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / isIn

Function isIn

static/js/codemirror/mode/xquery/xquery.js:417–419  ·  view source on GitHub ↗
(state, type)

Source from the content-addressed store, hash-verified

415 }
416
417 function isIn(state, type) {
418 return (state.stack.length && state.stack[state.stack.length - 1].type == type);
419 }
420
421 function pushStateStack(state, newState) {
422 state.stack.push(newState);

Callers 4

isInXmlBlockFunction · 0.85
isInXmlAttributeBlockFunction · 0.85
isInXmlConstructorFunction · 0.85
isInStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected