How to use the ramda-adjunct.isNotNil function in ramda-adjunct

To help you get started, we’ve selected a few ramda-adjunct examples, based on popular ways it is used in public projects.

github Undistraction / cssapi / src / utils / declarations.js View on Github external
const replaceToValue = newToValue =>
  ifElse(
    always(isNotNil(newToValue)),
    assocPathQueryTo(newToValue),
    over(lQuery, omit([TO]))
  )