Text
interface Text {
text: string
}Static methods
Retrieval methods
Text.matches(text: Text, props: Partial<Text>) => boolean
Text.matches(text: Text, props: Partial<Text>) => booleanText.decorations(node: Text, decorations: DecoratedRange[]) => { leaf: Text; position?: LeafPosition }[]
Text.decorations(node: Text, decorations: DecoratedRange[]) => { leaf: Text; position?: LeafPosition }[]Check methods
Text.equals(text: Text, another: Text, options?) => boolean
Text.equals(text: Text, another: Text, options?) => booleanText.isText(value: any) => value is Text
Text.isText(value: any) => value is TextText.isTextList(value: any): value is Text[]
Text.isTextList(value: any): value is Text[]Last updated