pocomath/src/number/add.mjs
Glen Whitney fe54bc6004 feat: Template operations (#41)
Relational functions are added using templates, and existing generic functions are made more strict with them. Also a new built-in typeOf function is added, that automatically updates itself.

Resolves #34.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #41
2022-08-01 10:09:32 +00:00

3 lines
93 B
JavaScript

export * from './Types/number.mjs'
export const add = {'number,number': () => (m,n) => m+n}