main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
443 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { always } from 'ramda';
|
---|
| 2 |
|
---|
| 3 | import stubUndefined from './stubUndefined';
|
---|
| 4 |
|
---|
| 5 | /**
|
---|
| 6 | * A function that performs no operations.
|
---|
| 7 | *
|
---|
| 8 | * @func noop
|
---|
| 9 | * @memberOf RA
|
---|
| 10 | * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}
|
---|
| 11 | * @category Function
|
---|
| 12 | * @sig ... -> undefined
|
---|
| 13 | * @return {undefined}
|
---|
| 14 | * @example
|
---|
| 15 | *
|
---|
| 16 | * RA.noop(); //=> undefined
|
---|
| 17 | * RA.noop(1, 2, 3); //=> undefined
|
---|
| 18 | */
|
---|
| 19 | const noop = always(stubUndefined());
|
---|
| 20 |
|
---|
| 21 | export default noop;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.