@rickosborne/rebound
Version:
Rick Osborne's utilities for working with bounded numbers
15 lines (14 loc) • 367 B
JavaScript
import { Rebound } from "./rebound.mjs";
const real360 = Rebound.buildType("Real360").fromInclusive(0).toExclusive(360).reals().build();
const toReal360 = real360.fromNumberWith({ ifPresent: true });
const {
assert: assertReal360,
guard: isReal360
} = real360;
export {
assertReal360,
isReal360,
real360,
toReal360
};
//# sourceMappingURL=real360.mjs.map