Represents an unsigned 10-bit integer. A union of integer literals from 0 to 1023 (2^10 - 1).
0
1023
Commonly used in video processing and high-precision color representations where 10-bit depth provides better color accuracy than 8-bit.
type TenBitColor = Uint10; // 10-bit color depthtype PortNumber = Uint10; // Some port rangesconst isValid10Bit = (value: number): value is Uint10 => { return Number.isInteger(value) && value >= 0 && value <= 1023;}; Copy
type TenBitColor = Uint10; // 10-bit color depthtype PortNumber = Uint10; // Some port rangesconst isValid10Bit = (value: number): value is Uint10 => { return Number.isInteger(value) && value >= 0 && value <= 1023;};
Represents an unsigned 10-bit integer. A union of integer literals from
0to1023(2^10 - 1).Commonly used in video processing and high-precision color representations where 10-bit depth provides better color accuracy than 8-bit.