Optionala: stringThe first string to compare. Can be undefined.
Optionalb: stringThe second string to compare. Can be undefined.
Whether to ignore case when comparing the strings. Defaults to true.
true if both strings are equal (considering case sensitivity based on ignoreCase), or if both are undefined. Otherwise, returns false.
Compares two optional strings for equality, with an option to ignore case sensitivity.