Created
July 26, 2018 14:51
-
-
Save JesterXL/87258c6b71aa6e75200b9843612e00df 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 filterHumans = | |
filter( | |
person => getTypeOrUnknown(person) === 'human' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment