MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / any_parents

Function any_parents

MathBox/mathbox-bundle.js:46990–46996  ·  view source on GitHub ↗
(node, next, subj)

Source from the content-addressed store, hash-verified

46988 }
46989
46990 function any_parents(node, next, subj) {
46991 do {
46992 node = options.parent(node)
46993 } while(node && !next(node, subj))
46994
46995 return node
46996 }
46997
46998 function direct_parent(node, next, subj) {
46999 node = options.parent(node)

Callers

nothing calls this directly

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected