UNPKG

ramda-adjunct

Version:

Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.

19 lines (18 loc) 438 B
import { always } from 'ramda'; import stubUndefined from './stubUndefined'; /** * 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 */ var noop = always(stubUndefined()); export default noop;