Created
November 17, 2015 22:17
-
-
Save Nolski/afd0bafbed5e6c9cd704 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
if (typeof scopeVar === 'undefined' || | |
typeof scopeVar.defs === 'undefined' || | |
typeof scopeVar.defs[0] === 'undefined' || | |
typeof scopeVar.defs[0].node.init === 'undefined' || | |
scopeVar.defs[0].node.init === null) { | |
return node.name; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment