You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [`74d2527`](https://github.com/stdlib-js/stdlib/commit/74d2527745106957e4b6228975dceb3578adcc5a) - **feat:** add specialized support for complex number and boolean arrays _(by Athan Reines)_
Copy file name to clipboardExpand all lines: base/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,11 +152,11 @@ The namespace exports the following:
152
152
- <spanclass="signature">[`groupValuesBy( x, indicator[, thisArg] )`][@stdlib/array/base/group-values-by]</span><spanclass="delimiter">: </span><spanclass="description">group element values according to an indicator function.</span>
153
153
- <spanclass="signature">[`groupValues( x, groups )`][@stdlib/array/base/group-values]</span><spanclass="delimiter">: </span><spanclass="description">group elements as arrays associated with distinct keys.</span>
154
154
- <spanclass="signature">[`incrspace( start, stop, increment )`][@stdlib/array/base/incrspace]</span><spanclass="delimiter">: </span><spanclass="description">generate a linearly spaced numeric array according to a provided increment.</span>
155
-
- <spanclass="signature">[`indexOfSameValue( x, searchElement, fromIndex )`][@stdlib/array/base/index-of-same-value]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the first element which equals a provided search element according to the same value algorithm.</span>
155
+
- <spanclass="signature">[`indexOfSameValue( x, searchElement, fromIndex )`][@stdlib/array/base/index-of-same-value]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the first element which equals a provided search element according to the SameValue Algorithm.</span>
156
156
- <spanclass="signature">[`indexOf( x, searchElement, fromIndex )`][@stdlib/array/base/index-of]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the first element which equals a provided search element.</span>
157
157
- <spanclass="signature">[`indicesComplement( N, indices )`][@stdlib/array/base/indices-complement]</span><spanclass="delimiter">: </span><spanclass="description">return the complement of a list of array indices.</span>
158
158
- <spanclass="signature">[`join( x, separator )`][@stdlib/array/base/join]</span><spanclass="delimiter">: </span><spanclass="description">return a string created by joining array elements using a specified separator.</span>
159
-
- <spanclass="signature">[`lastIndexOfSameValue( x, searchElement, fromIndex )`][@stdlib/array/base/last-index-of-same-value]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the last element which equals a provided search element according to the same value algorithm.</span>
159
+
- <spanclass="signature">[`lastIndexOfSameValue( x, searchElement, fromIndex )`][@stdlib/array/base/last-index-of-same-value]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the last element which equals a provided search element according to the SameValue Algorithm.</span>
160
160
- <spanclass="signature">[`lastIndexOf( x, searchElement, fromIndex )`][@stdlib/array/base/last-index-of]</span><spanclass="delimiter">: </span><spanclass="description">return the index of the last element which equals a provided search element.</span>
161
161
- <spanclass="signature">[`last( x )`][@stdlib/array/base/last]</span><spanclass="delimiter">: </span><spanclass="description">return the last element of an array-like object.</span>
Copy file name to clipboardExpand all lines: base/docs/types/index.d.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2856,9 +2856,13 @@ interface Namespace {
2856
2856
*
2857
2857
* ## Notes
2858
2858
*
2859
+
* - The function uses the [SameValue Algorithm][ecma-262-same-value-algorithm], as specified in ECMAScript 5.
2860
+
* - In contrast to the strict equality operator `===`, `-0` and `+0` are distinguishable and `NaNs` are the same.
2859
2861
* - If unable to find an element which equals a provided search element, the function returns `-1`.
2860
2862
* - If `fromIndex` is less than zero, the starting index is resolved relative to the last array element, with the last array element corresponding to `fromIndex = -1`.
* - The function uses the [SameValue Algorithm][ecma-262-same-value-algorithm], as specified in ECMAScript 5.
2987
+
* - In contrast to the strict equality operator `===`, `-0` and `+0` are distinguishable and `NaNs` are the same.
2982
2988
* - The function scans an input array from the starting index to the beginning of the array (i.e., backward).
2983
2989
* - If unable to find an element which equals a provided search element, the function returns `-1`.
2984
2990
* - If `fromIndex` is less than zero, the starting index is resolved relative to the last array element, with the last array element corresponding to `fromIndex = -1`.
0 commit comments