Compares two things by turning them into strings, trimming and lowercasing them, and comparing the string values. Works exactly like isEqual except will lowercase both things before comparing.
isEqual
isNotEqualIgnoreCase("1", 1); // falseisNotEqualIgnoreCase({foo: "bar"}, {foo: "bar"}); // falseisNotEqualIgnoreCase([], []); // falseisNotEqualIgnoreCase([0], [1]); // trueisNotEqualIgnoreCase(false, " false "); // trueisNotEqualIgnoreCase(false, "FALSE"); // false Copy
isNotEqualIgnoreCase("1", 1); // falseisNotEqualIgnoreCase({foo: "bar"}, {foo: "bar"}); // falseisNotEqualIgnoreCase([], []); // falseisNotEqualIgnoreCase([0], [1]); // trueisNotEqualIgnoreCase(false, " false "); // trueisNotEqualIgnoreCase(false, "FALSE"); // false
Compares two things by turning them into strings, trimming and lowercasing them, and comparing the string values. Works exactly like
isEqual
except will lowercase both things before comparing.