UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

9 lines (8 loc) 227 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.negate = void 0; const main_1 = require("./main"); function negate(x) { return -(0, main_1.getValueOr)(-0, x); } exports.negate = negate;