hypertune
Version:
[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics and app configuration. Built with full end-to-end type-safety, Git-style version control and local, synchronous, in-memory flag evaluation. Opt
10 lines • 322 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = nanThrows;
function nanThrows(x, error) {
if (Number.isNaN(x instanceof Date ? x.getTime() : x)) {
throw error instanceof Error ? error : new Error(error);
}
return x;
}
//# sourceMappingURL=nanThrows.js.map