npm install hast-util-phrasing
var phrasing =// Given flow content:// => false// Given a phrasing element:// => true// Given a non-phrasing element:// => false// Given text:// => true
Check if the given value is phrasing content.
*) — Value to check, typically
boolean — Whether
node passes the test.
hast-util-phrasing does not change the syntax tree so there are no openings
for cross-site scripting (XSS) attacks.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.