Skip to main content

Module: @lexical/hashtag

Classes

Functions

$createHashtagNode

$createHashtagNode(text?): HashtagNode

Parameters

NameTypeDefault value
textstring''

Returns

HashtagNode

Defined in

lexical-hashtag/src/LexicalHashtagNode.ts:64


$isHashtagNode

$isHashtagNode(node): node is HashtagNode

Parameters

NameType
nodeundefined | null | LexicalNode

Returns

node is HashtagNode

Defined in

lexical-hashtag/src/LexicalHashtagNode.ts:68