API reference@evolu/commonType › NonNaNNumber

const NonNaNNumber: nonNaN(Number);

Defined in: packages/common/src/Type.ts:6508

Number other than NaN; infinities are allowed.

This is useful for arithmetic that deliberately saturates infinities to a boundary but cannot assign a meaningful boundary to NaN. Excluding NaN also makes ordering and clamping reliable because comparisons with NaN are always false and most arithmetic propagates it.