mon-entreprise/source/engine/traverse-common-functions.js

6 lines
120 B
JavaScript

import R from 'ramda'
export let val = node => node.nodeValue
export let anyNull = R.any(R.pipe(val, R.equals(null)))