@rickosborne/rebound
Version:
Rick Osborne's utilities for working with bounded numbers
9 lines • 653 B
TypeScript
import { Rebound } from "./rebound.js";
export declare const int255: Rebound<number & import("./spec.js").ReboundedFromConfig<"[", 0, "int", 255, "]">>;
export declare const toInt255: import("./from-number-bounded.js").FromNumberIfPresent<number & import("./spec.js").ReboundedFromConfig<"[", 0, "int", 255, "]">>;
export declare const assertInt255: import("./assert-bounded.js").AssertExact<never>, isInt255: import("./guard-bounded.js").GuardExact<number & import("./spec.js").ReboundedFromConfig<"[", 0, "int", 255, "]">>;
/**
* An integer in the range [0,255].
*/
export type Int255 = typeof int255.numberType;
//# sourceMappingURL=int255.d.ts.map