Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | 15x 15x 15x 15x 15x 15x 15x | import type {NumSchema} from './schema';
export const UINTS: NumSchema['format'][] = ['u', 'u8', 'u16', 'u32', 'u64'];
export const INTS: NumSchema['format'][] = ['i', 'i8', 'i16', 'i32', 'i64', ...UINTS];
export const FLOATS: NumSchema['format'][] = ['f', 'f32', 'f64'];
export const uints = new Set(UINTS);
export const ints = new Set(INTS);
export const floats = new Set(FLOATS);
export const primitives = new Set<string>(['nil', 'undef', 'bool', 'num', 'str', 'bin']);
|