Created
July 21, 2019 01:00
-
-
Save Javiani/cdcde6d889d8bf487f4a088c596a1deb to your computer and use it in GitHub Desktop.
Snippets for Medium
This file contains 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 lastname = Maybe(() => data.personsLastName[1].value) | |
.catch( _ => Promise.reject('Lastname was not found') ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment