This website requires JavaScript.
Explore
Help
Sign in
StudioInfinity
/
nanomath
Watch
1
Star
0
Fork
You've already forked nanomath
0
Code
Issues
4
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
79c6d44fda
nanomath
/
src
/
number
/
Number.js
4 lines
97 B
JavaScript
Raw
Normal View
History
Unescape
Escape
refactor: Switch to 'map-like object keyed by string and type vector' format See https://code.studioinfinity.org/glen/nanomath/wiki/Item-Specifications. Also stubs out the TypeDispatcher, mocking the merge function, so we can see that all of the proper things will be added. Ready for initial implementation of the TypeDispatcher.
2025-04-02 11:22:53 -07:00
import
{
Type
}
from
'../core/Type.js'
export
const
Number
=
new
Type
(
n
=>
typeof
n
===
'number'
)
Reference in a new issue
Copy permalink