Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
export
const
isDOMText = (value: any): value is DOMText => {
74
return
isDOMNode(value) && value.nodeType === 3
75
}
Callers
5
findClosestPoint
Function · 0.90
withTaskListHTMLDeserializerTransform
Function · 0.90
withUnorderedListHTMLDeserializerTransform
Function · 0.90
withOrderedListHTMLDeserializerTransform
Function · 0.90
transform
Function · 0.90
Calls
1
isDOMNode
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…