UNPKG

@bemedev/types

Version:

Type definitions for Bemedev projects

25 lines 1.33 kB
export declare const numbers: import("../utils.js").FnBasic<(_?: number | undefined) => number, { getString: <const T extends number>(_: T) => `${T}`; digit: import("../utils.js").FnBasic<(_?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined) => 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, object & { readonly forceCast: (_?: unknown) => 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; readonly dynamic: <U extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9>(_?: U | undefined) => U; readonly is: <U>(_?: U | undefined) => U extends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ? true : false; readonly type: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; }>; type: number; ZERO: 0; ONE: 1; MINUS_1: -1; bigint: import("../utils.js").FnBasic<(_?: bigint | undefined) => bigint, object & { readonly forceCast: (_?: unknown) => bigint; readonly dynamic: <U extends bigint>(_?: U | undefined) => U; readonly is: <U>(_?: U | undefined) => U extends bigint ? true : false; readonly type: bigint; }>; } & { readonly forceCast: (_?: unknown) => number; readonly dynamic: <U extends number>(_?: U | undefined) => U; readonly is: <U>(_?: U | undefined) => U extends number ? true : false; readonly type: number; }>; //# sourceMappingURL=numbers.d.ts.map