nanomath/src/generic/helpers.js
Glen Whitney d3f2bc09b7
All checks were successful
/ test (pull_request) Successful in 17s
feat: config and approximate equality
Establishes a global config object for a TypeDispatcher instance, so far
  with just properties representing comparison tolerances. Begins a
  "relational" group of functions with basic approximate equality, and
  an initial primitive ordering comparison. Ensures that methods that
  depend on properties of `config` will be properly updated when those
  properties change.
2025-04-15 01:17:27 -07:00

1 line
62 B
JavaScript

export const ReturnsAs = (g, f) => (f.returns = g.returns, f)