description:"Enforces use of the `isNaN()` function to check for NaN references instead of a comparison to the `NaN` constant.",
rationale:(_a=["\n Since `NaN !== NaN`, comparisons with regular operators will produce unexpected results.\n So, instead of `if (myVar === NaN)`, do `if (isNaN(myVar))`."],_a.raw=["\n Since \\`NaN !== NaN\\`, comparisons with regular operators will produce unexpected results.\n So, instead of \\`if (myVar === NaN)\\`, do \\`if (isNaN(myVar))\\`."],Lint.Utils.dedent(_a)),
optionsDescription:"Not configurable.",
options:null,
optionExamples:[true],
type:"functionality",
typescriptOnly:false,
};
/* tslint:enable:object-literal-sort-keys */
Rule.FAILURE_STRING="Found an invalid comparison for NaN: ";