-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjsdoc.typedefs.js
More file actions
113 lines (98 loc) · 3.6 KB
/
jsdoc.typedefs.js
File metadata and controls
113 lines (98 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/**
* @callback AccumulatorCallback
* @global
* @param {*} previousValue - The value returned it the last execution of the accumulator or, in the first
* iteration, the {@link module:lamb.reduce|initialValue} if supplied.
* @param {*} currentValue - The value being processed in the current iteration.
* @param {Number} idx - The index of the element being processed.
* @param {ArrayLike} arrayLike - The list being traversed.
*/
/**
* The built-in arguments object.
* @typedef {arguments} arguments
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments|arguments} in Mozilla documentation.
*/
/**
* The built-in Array object.
* @typedef {Array} Array
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array|Array} in Mozilla documentation.
*/
/**
* Any array-like object.
* @typedef {Array|String|arguments|?} ArrayLike
* @global
*/
/**
* The built-in Boolean object.
* @typedef {Boolean} Boolean
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean|Boolean} in Mozilla documentation.
*/
/**
* The built-in Date object.
* @typedef {Date} Date
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date|Date} in Mozilla documentation.
*/
/**
* The built-in Function object.
* @typedef {Function} function
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function|Function} and
* {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions|Functions} in Mozilla documentation.
*/
/**
* @callback ListIteratorCallback
* @global
* @param {*} element - The element being evaluated.
* @param {Number} idx - The index of the element within the list.
* @param {ArrayLike} arrayLike - The list being traversed.
*/
/**
* The built-in Number object.
* @typedef {Number} Number
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number|Number} in Mozilla documentation.
*/
/**
* The built-in Object object.
* @typedef {Object} Object
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object|Object} in Mozilla documentation.
*/
/**
* @callback ObjectIteratorCallback
* @global
* @param {*} value - The value of the current property.
* @param {String} key - The property name.
* @param {Object} source - The object being traversed.
*/
/**
* The built-in RegExp object.
* @typedef {RegExp} RegExp
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp|RegExp} in Mozilla documentation.
*/
/**
* Represents a sorting criteria used by {@link module:lamb.sortedInsert|sortedInsert},
* {@link module:lamb.sort|sort} and {@link module:lamb.sortWith|sortWith}, and it's
* usually built using {@link module:lamb.sorter|sorter} and {@link module:lamb.sorterDesc|sorterDesc}.
* @typedef {Sorter} Sorter
* @global
* @property {Boolean} isDescending
* @property {Function} compare
*/
/**
* The built-in String object.
* @typedef {String} String
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String|String} in Mozilla documentation.
*/
/**
* The built-in primitive value <code>undefined</code>
* @typedef {Undefined} Undefined
* @global
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined|undefined} in Mozilla documentation.
*/