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