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