check if not instance of javascript code example Example: js not instanceof if ( !(obj instanceof Array) ) { console.log('obj is not an Array') }