Skip to content

Commit

Permalink
Refactor code-style
Browse files Browse the repository at this point in the history
*   Add more docs to JSDoc
  • Loading branch information
wooorm committed Jan 25, 2023
1 parent 2beb724 commit 0d38ec8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

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

/**
* Check if the given value is phrasing content.
*
* @param
* Thing to check, typically `Node`
* @returns
* Whether `node` is phrasing content.
*/
export const phrasing = /** @type {AssertPredicatePhrasing} */ (
convert([
'break',
Expand Down

0 comments on commit 0d38ec8

Please sign in to comment.