Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MattMS
Created March 25, 2017 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattMS/de8ac363f9fd740d5fd9dd93d34abd1d to your computer and use it in GitHub Desktop.
Save MattMS/de8ac363f9fd740d5fd9dd93d34abd1d to your computer and use it in GitHub Desktop.
Possibly helpful function compositions for Ramda.

Ramda extensions

Test a path exists:

const has_path = R.pipe(R.path, R.complement(R.isNil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment