UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

16 lines (15 loc) 389 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useExpm1 = void 0; const utility_1 = require("../utility"); /** * @since 0.0.1 * @category Math * @inheritdoc Math.expm1 */ function useExpm1(x) { return (0, utility_1.eagerComputed)(function compute() { return Math.expm1((0, utility_1.unwrap)(x)); }); } exports.useExpm1 = useExpm1;