Created
September 15, 2017 07:37
-
-
Save LeonardoCiaccio/1f4ab3ace4bc21052ded49a5ac575618 to your computer and use it in GitHub Desktop.
Controllo se è un oggetto
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
| function _isObj( _obj ){ | |
| return ( typeof _obj === "object" && JSON.stringify( _obj ).indexOf( "{" ) == 0 ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment