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:
378 bytes
|
Line | |
---|
1 | import { always } from 'ramda';
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * A function that returns `null`.
|
---|
5 | *
|
---|
6 | * @func stubNull
|
---|
7 | * @memberOf RA
|
---|
8 | * @since {@link https://char0n.github.io/ramda-adjunct/1.6.0|v1.6.0}
|
---|
9 | * @category Function
|
---|
10 | * @sig ... -> null
|
---|
11 | * @return {null}
|
---|
12 | * @example
|
---|
13 | *
|
---|
14 | * RA.stubNull(); //=> null
|
---|
15 | * RA.stubNull(1, 2, 3); //=> null
|
---|
16 | */
|
---|
17 | const stubNull = always(null);
|
---|
18 |
|
---|
19 | export default stubNull;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.