diff --git a/core/misc/states.js b/core/misc/states.js index a834f16..663176f 100644 --- a/core/misc/states.js +++ b/core/misc/states.js @@ -82,7 +82,7 @@ }, 'Array': function (reference, value) { // Make sure value is an array. - if (!(typeof(value) === 'object' && (value instanceof Array))) { + if (Array.isArray(value)) { return false; } // We iterate through each value provided in the reference. If all of them