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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

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