MCPcopy Create free account
hub / github.com/editablejs/editable / isDOMText

Function isDOMText

packages/models/src/utils/dom.ts:73–75  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

71 */
72
73export const isDOMText = (value: any): value is DOMText => {
74 return isDOMNode(value) && value.nodeType === 3
75}

Calls 1

isDOMNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…