pocomath/src/number/invert.mjs

4 lines
89 B
JavaScript

export {Types} from './Types/number.mjs'
export const invert = {number: () => n => 1/n}