Use Number.isNaN for NaN checks
Do not compare values to NaN with `===` or `==`.
#Metadata
#Why it matters
NaN is not equal to itself; identity comparisons are always false.
#Remediation
Use `Number.isNaN(value)` (or `Number.isNaN` after coercion) instead of `value === NaN`.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.use-number-is-nan.rule.yaml.