MCPcopy Index your code
hub / github.com/hizzgdev/jsmind / is_node

Method is_node

src/jsmind.node.js:125–127  ·  view source on GitHub ↗

* Runtime check for Node instance. * @param {unknown} n * @returns {n is Node}

(n)

Source from the content-addressed store, hash-verified

123 * @returns {n is Node}
124 */
125 static is_node(n) {
126 return !!n && n instanceof Node;
127 }
128}

Callers 15

jsmind.jsFile · 0.45
mousedown_handleMethod · 0.45
dblclick_handleMethod · 0.45
begin_editMethod · 0.45
toggle_nodeMethod · 0.45
expand_nodeMethod · 0.45
collapse_nodeMethod · 0.45
get_nodeMethod · 0.45
remove_nodeMethod · 0.45
select_nodeMethod · 0.45
scroll_node_to_centerMethod · 0.45
find_node_beforeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected