Function: isSameTarget()
Less than 1 minute
@ghentcdh/annotated-text / isSameTarget
Function: isSameTarget()
isSameTarget(
body1
,body2
):boolean
Defined in: libs/core/src/lib/adapter/annotation/w3c/utils/target.utils.ts:58
Parameters
body1
processingLanguage?
string
= ...
selector?
{ end
: number
; start
: number
; type
: "TextPositionSelector"
; } = ...
selector.end
number
= ...
selector.start
number
= ...
selector.type
"TextPositionSelector"
= ...
source?
string
= ...
textDirection?
"ltr"
| "rtl"
= ...
type
"Text"
= ...
body2
processingLanguage?
string
= ...
selector?
{ end
: number
; start
: number
; type
: "TextPositionSelector"
; } = ...
selector.end
number
= ...
selector.start
number
= ...
selector.type
"TextPositionSelector"
= ...
source?
string
= ...
textDirection?
"ltr"
| "rtl"
= ...
type
"Text"
= ...
Returns
boolean