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