External module "node/isText"
Functions
isText
- isText(node: INodeMutable | Any): boolean
- isText<IExtension>(node: INodeExtendedMutable<IExtension> | Any): boolean
- isText<IExtension>(node: NodeGeneric<IExtension> | Any): boolean
-
Parameters
Returns boolean
-
Type parameters
Parameters
-
node: INodeExtendedMutable<IExtension> | Any
Returns boolean
-
Type parameters
Parameters
Returns boolean
Determines if a node union is the specified class. Performs narrowing of the union