MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isIn

Function isIn

static/editor.md/lib/codemirror/mode/xquery/xquery.js:408–410  ·  view source on GitHub ↗
(state, type)

Source from the content-addressed store, hash-verified

406 }
407
408 function isIn(state, type) {
409 return (state.stack.length && state.stack[state.stack.length - 1].type == type);
410 }
411
412 function pushStateStack(state, newState) {
413 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