rules_typescript

Build TypeScript code with Bazel

View on GitHub

Equals NaN rule

Checking whether any value is equal to the special numeric value NaN will always return false, by the spec. If you want to check whether a value is the NaN value, use either the built-in isNaN function or the ES2015 function Number.isNaN.