Created
July 26, 2018 14:57
-
-
Save JesterXL/04a8227a71efa79f4329dc2242aeb6ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getTypeOrUnknown = getOr('unknown', 'type') | |
const equalsHuman = isEqual('human') | |
const isHuman = flow([getTypeOrUnknown, equalsHuman]) | |
const filterHumans = filter(isHuman) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment