UNPKG

417 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.noop = exports.identity = void 0;
4/**
5 * A sharable identity function. Returns the input as-is with no transformation applied.
6 */
7function identity(value) {
8 return value;
9}
10exports.identity = identity;
11/**
12 * A sharable noop function. As the name suggests, does nothing
13 */
14function noop() {
15 // noop
16}
17exports.noop = noop;