packages/rehype-minify-whitespace/index.js
function collapsable(node) {
  return (
    is('text', node) ||
    element(node, list) ||
    embedded(node) ||
    bodyOK(node) ||
    (element(node, 'meta') && has(node, 'itemProp'))
  )
}
function collapsable(node) {
  return (
    is('text', node) ||
    element(node, list) ||
    embedded(node) ||
    bodyOK(node) ||
    (element(node, 'meta') && has(node, 'itemProp'))
  )
}
Check if `node` is collapsable.