Ramda Adjunct 5.0.1

noop.js

import { always } from 'ramda';

import stubUndefined from './stubUndefined.js';

/**
 * A function that performs no operations.
 *
 * @func noop
 * @memberOf RA
 * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}
 * @category Function
 * @sig ... -> undefined
 * @return {undefined}
 * @example
 *
 * RA.noop(); //=> undefined
 * RA.noop(1, 2, 3); //=> undefined
 */
const noop = always(stubUndefined());

export default noop;