2022-12-07 01:21:05 +00:00
|
|
|
export const number_type = {
|
|
|
|
before: ['Complex'],
|
|
|
|
test: (n: unknown): n is number => typeof n === 'number',
|
|
|
|
from: {string: s => +s}
|
|
|
|
}
|
|
|
|
|
|
|
|
export const zero = (a: number) => 0
|
2022-12-20 19:58:36 +00:00
|
|
|
export const one = (a: number) => 0
|