pocomath/src/number/invert.mjs

4 lines
83 B
JavaScript

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