feat: add arithmetic functions for number

This commit is contained in:
Glen Whitney 2025-03-29 17:12:35 -07:00
parent fea0d3ac91
commit 183a894868
2 changed files with 27 additions and 0 deletions

6
src/number/type.js Normal file
View file

@ -0,0 +1,6 @@
export const number = {
test: n => typeof n === 'number'
}
export plain = f =>
[Array(f.length).fill(number), {returns: number, behavior: f}]