Module: @lexical/hashtag
Classes
Functions
$createHashtagNode
▸ $createHashtagNode(text?
): HashtagNode
Parameters
Name | Type | Default value |
---|---|---|
text | string | '' |
Returns
Defined in
lexical-hashtag/src/LexicalHashtagNode.ts:43
$isHashtagNode
▸ $isHashtagNode(node
): node is HashtagNode
Parameters
Name | Type |
---|---|
node | undefined | null | LexicalNode |
Returns
node is HashtagNode
Defined in
lexical-hashtag/src/LexicalHashtagNode.ts:47