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.

20 lines (17 loc) 378 B
import { always } from 'ramda'; /** * A function that returns `null`. * * @func stubNull * @memberOf RA * @since {@link https://char0n.github.io/ramda-adjunct/1.6.0|v1.6.0} * @category Function * @sig ... -> null * @return {null} * @example * * RA.stubNull(); //=> null * RA.stubNull(1, 2, 3); //=> null */ const stubNull = always(null); export default stubNull;