-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presence #654
Labels
Comments
yeah why not const presence = when(isEmpty, stubNull) Alternative implementation by specializing defaultWhen const presence = RA.defaultWhen(R.isEmpty, null); |
may i can get this one? |
@tauantcamargo sure |
@tauantcamargo doing the code review just now. |
@char0n don't worry. :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Like presence function in ruby: https://apidock.com/rails/Object/presence
Describe the solution you'd like
Describe alternatives you've considered
R.defaultTo
Additional context
like presence function in ruby
The text was updated successfully, but these errors were encountered: