feat: add arithmetic functions for number
This commit is contained in:
parent
fea0d3ac91
commit
183a894868
2 changed files with 27 additions and 0 deletions
6
src/number/type.js
Normal file
6
src/number/type.js
Normal 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}]
|
Loading…
Add table
Add a link
Reference in a new issue