Skip to content

Commit 0d38ec8

Browse files
committed
Refactor code-style
* Add more docs to JSDoc
1 parent 2beb724 commit 0d38ec8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55

66
import {convert} from 'unist-util-is'
77

8+
/**
9+
* Check if the given value is phrasing content.
10+
*
11+
* @param
12+
* Thing to check, typically `Node`
13+
* @returns
14+
* Whether `node` is phrasing content.
15+
*/
816
export const phrasing = /** @type {AssertPredicatePhrasing} */ (
917
convert([
1018
'break',

0 commit comments

Comments
 (0)