Created
November 7, 2018 08:32
-
-
Save ahmetgungor/1d804320ec1482a96621ba02f63f1b8c to your computer and use it in GitHub Desktop.
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
var keyExistsOn = (o, k) => k.split(".").reduce((a, c) => a.hasOwnProperty(c) ? a[c] || 1 : false, Object.assign({}, o)) === false ? false : true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment