rules_typescript

Utilities for TypeScript and Bazel - see rules_nodejs for public API

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.