Created
July 13, 2018 18:53
-
-
Save JohnMarkT/a4b084c45e27adbf7207adeb3bdc7b45 to your computer and use it in GitHub Desktop.
Get full name from user object
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 getFullname = u => [u.first, u.middle, u.last].filter(Boolean).join(' ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment