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:
438 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { always } from 'ramda';
|
---|
| 2 | import stubUndefined from './stubUndefined';
|
---|
| 3 |
|
---|
| 4 | /**
|
---|
| 5 | * A function that performs no operations.
|
---|
| 6 | *
|
---|
| 7 | * @func noop
|
---|
| 8 | * @memberOf RA
|
---|
| 9 | * @since {@link https://char0n.github.io/ramda-adjunct/1.0.0|v1.0.0}
|
---|
| 10 | * @category Function
|
---|
| 11 | * @sig ... -> undefined
|
---|
| 12 | * @return {undefined}
|
---|
| 13 | * @example
|
---|
| 14 | *
|
---|
| 15 | * RA.noop(); //=> undefined
|
---|
| 16 | * RA.noop(1, 2, 3); //=> undefined
|
---|
| 17 | */
|
---|
| 18 | var noop = always(stubUndefined());
|
---|
| 19 | export default noop; |
---|
Note:
See
TracBrowser
for help on using the repository browser.