Skip to content

Commit 0fc6587

Browse files
committed
Auto-generated commit
1 parent 93fb39c commit 0fc6587

File tree

7 files changed

+90
-5
lines changed

7 files changed

+90
-5
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ indent_style = tab
8686
[*.{f,f.txt}]
8787
indent_style = space
8888
indent_size = 2
89-
insert_final_newline = false
9089

9190
# Set properties for shell files:
9291
[*.{sh,sh.txt}]

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-03-24T00:31:57.071Z

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-01-12)
7+
## Unreleased (2025-03-24)
88

99
<section class="packages">
1010

@@ -20,6 +20,7 @@
2020

2121
##### Features
2222

23+
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706)
2324
- [`d11aaf3`](https://github.com/stdlib-js/stdlib/commit/d11aaf3e4ea651384185655584eea9c5b8ca9ae2) - add `isSortedAscending` to namespace
2425
- [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec) - update namespace TypeScript declarations [(#3190)](https://github.com/stdlib-js/stdlib/pull/3190)
2526
- [`43aa58f`](https://github.com/stdlib-js/stdlib/commit/43aa58f81dcad604f11a5715a1546c015b0a9623) - add `isByteOrder` to namespace
@@ -172,6 +173,7 @@ A total of 3 people contributed to this release. Thank you to the following cont
172173

173174
<details>
174175

176+
- [`e661213`](https://github.com/stdlib-js/stdlib/commit/e66121352ef767cdb87d19e938b1eccf7970fa3a) - **feat:** update namespace TypeScript declarations [(#4706)](https://github.com/stdlib-js/stdlib/pull/4706) _(by stdlib-bot)_
175177
- [`cff470f`](https://github.com/stdlib-js/stdlib/commit/cff470f9608165100c8c122fce70c40b1af864ec) - **docs:** update namespace table of contents (#4708) _(by stdlib-bot, Planeshifter)_
176178
- [`d11aaf3`](https://github.com/stdlib-js/stdlib/commit/d11aaf3e4ea651384185655584eea9c5b8ca9ae2) - **feat:** add `isSortedAscending` to namespace _(by Athan Reines)_
177179
- [`5a848eb`](https://github.com/stdlib-js/stdlib/commit/5a848ebda6a2ff9cc34cfa5cf93ffce65b8bab0e) - **feat:** add `array/base/assert/is-sorted-ascending` _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <[email protected]>
6+
Aarya Balwadkar <[email protected]>
67
Aayush Khanna <[email protected]>
8+
Abdelrahman Samir <[email protected]>
9+
Abdul Kaium <[email protected]>
10+
Abhay Punia <[email protected]>
711
Abhijit Raut <[email protected]>
12+
Abhishek Jain <[email protected]>
813
Adarsh Palaskar <[email protected]>
914
Aditya Sapra <[email protected]>
1015
Ahmed Atwa <[email protected]>
1116
Ahmed Kashkoush <[email protected]>
1217
Ahmed Khaled <[email protected]>
18+
Aksshay Balasubramanian <[email protected]>
1319
Aleksandr <[email protected]>
1420
Ali Salesi <[email protected]>
21+
AlyAbdelmoneim <[email protected]>
1522
Aman Bhansali <[email protected]>
23+
AmanBhadkariya <[email protected]>
1624
Amit Jimiwal <[email protected]>
25+
Anshu Kumar <[email protected]>
26+
Anshu Kumar <[email protected]>
1727
Anudeep Sanapala <[email protected]>
1828
Athan Reines <[email protected]>
1929
30+
Bhavishy Agrawal <[email protected]>
2031
Brendan Graetz <[email protected]>
2132
Bruno Fenzl <[email protected]>
2233
Bryan Elee <[email protected]>
@@ -26,22 +37,35 @@ Dan Rose <[email protected]>
2637
Daniel Killenberger <[email protected]>
2738
Daniel Yu <[email protected]>
2839
Debashis Maharana <[email protected]>
40+
Deep Trivedi <[email protected]>
2941
Desh Deepak Kant <[email protected]>
42+
43+
Dhanyabad behera <[email protected]>
3044
Dhruv Arvind Singh <[email protected]>
45+
Dhruvil Mehta <[email protected]>
3146
Divyansh Seth <[email protected]>
3247
Dominic Lim <[email protected]>
3348
Dominik Moritz <[email protected]>
3449
Dorrin Sotoudeh <[email protected]>
3550
EuniceSim142 <[email protected]>
3651
Frank Kovacs <[email protected]>
52+
GK Bishnoi <[email protected]>
53+
54+
Gautam sharma <[email protected]>
3755
Golden Kumar <[email protected]>
3856
Gunj Joshi <[email protected]>
39-
Gururaj Gurram <[email protected]>
57+
Gururaj Gurram <[email protected]>
58+
Haroon Rasheed <[email protected]>
59+
4060
4161
Harshita Kalani <[email protected]>
62+
Hemant M Mehta <[email protected]>
4263
Hridyanshu <[email protected]>
4364
Jaimin Godhani <[email protected]>
65+
Jaison D Souza <[email protected]>
66+
Jalaj Kumar <[email protected]>
4467
James Gelok <[email protected]>
68+
4569
Jaysukh Makvana <[email protected]>
4670
Jenish Thapa <[email protected]>
4771
Jithin KS <[email protected]>
@@ -50,55 +74,68 @@ Joey Reed <[email protected]>
5074
Jordan Gallivan <[email protected]>
5175
Joris Labie <[email protected]>
5276
Justin Dennison <[email protected]>
77+
Justyn Shelby <[email protected]>
5378
Karan Anand <[email protected]>
5479
Karthik Prakash <[email protected]>
80+
Kaushikgtm <[email protected]>
5581
Kohantika Nath <[email protected]>
82+
Krishnam Agarwal <[email protected]>
5683
Krishnendu Das <[email protected]>
5784
Kshitij-Dale <[email protected]>
5885
Lovelin Dhoni J B <[email protected]>
86+
5987
Manik Sharma <[email protected]>
6088
Manvith M <[email protected]>
6189
Marcus Fantham <[email protected]>
6290
Matt Cochrane <[email protected]>
6391
Mihir Pandit <[email protected]>
6492
Milan Raj <[email protected]>
93+
Mohammad Bin Aftab <[email protected]>
6594
Mohammad Kaif <[email protected]>
6695
Momtchil Momtchev <[email protected]>
6796
Muhammad Haris <[email protected]>
6897
Naresh Jagadeesan <[email protected]>
6998
Naveen Kumar <[email protected]>
7099
Neeraj Pathak <[email protected]>
71100
Nishant Shinde <[email protected]>
101+
Nishchay Rajput <[email protected]>
72102
Nithin Katta <[email protected]>
73103
Nourhan Hasan <[email protected]>
74104
Ognjen Jevremović <[email protected]>
75105
Oneday12323 <[email protected]>
76106
Ori Miles <[email protected]>
77107
Philipp Burckhardt <[email protected]>
108+
Prajjwal Bajpai <[email protected]>
78109
Prajwal Kulkarni <[email protected]>
79-
Pranav Goswami <[email protected]>
110+
Pranav Goswami <[email protected]>
80111
Pranjal Jha <[email protected]>
81112
Prashant Kumar Yadav <[email protected]>
82113
Pratik Singh <[email protected]>
83114
Pratyush Kumar Chouhan <[email protected]>
84115
Priyansh Prajapati <[email protected]>
85116
Priyanshu Agarwal <[email protected]>
117+
Pulkit Gupta <[email protected]>
86118
Pushpendra Chandravanshi <[email protected]>
119+
Rahul Kumar <[email protected]>
87120
Raunak Kumar Gupta <[email protected]>
88121
Rejoan Sardar <[email protected]>
89122
Ricky Reusser <[email protected]>
90123
Ridam Garg <[email protected]>
91124
125+
Rishav Tarway <[email protected]>
92126
Robert Gislason <[email protected]>
93127
Roman Stetsyk <[email protected]>
94128
Rutam Kathale <[email protected]>
95129
Ruthwik Chikoti <[email protected]>
96130
Ryan Seal <[email protected]>
97131
Rylan Yang <[email protected]>
132+
SHIVAM YADAV <[email protected]>
98133
Sai Srikar Dumpeti <[email protected]>
134+
Sanchay Ketan Sinha <[email protected]>
99135
Sarthak Paandey <[email protected]>
100136
Saurabh Singh <[email protected]>
101137
Seyyed Parsa Neshaei <[email protected]>
138+
Shabareesh Shetty <[email protected]>
102139
Shashank Shekhar Singh <[email protected]>
103140
Shivam Ahir <[email protected]>
104141
Shraddheya Shendre <[email protected]>
@@ -109,7 +146,9 @@ Snehil Shah <[email protected]>
109146
Soumajit Chatterjee <[email protected]>
110147
Spandan Barve <[email protected]>
111148
Stephannie Jiménez Gacha <[email protected]>
149+
Suhaib Ilahi <[email protected]>
112150
Suraj Kumar <[email protected]>
151+
Tanishq Ahuja <[email protected]>
113152
Tirtadwipa Manunggal <[email protected]>
114153
Tudor Pagu <[email protected]>
115154
Tufailahmed Bargir <[email protected]>
@@ -123,6 +162,13 @@ Vivek Maurya <[email protected]>
123162
Xiaochuan Ye <[email protected]>
124163
Yaswanth Kosuru <[email protected]>
125164
Yernar Yergaziyev <[email protected]>
165+
Yugal Kaushik <[email protected]>
166+
Yuvi Mittal <[email protected]>
167+
168+
ekambains <[email protected]>
169+
fadiothman22 <[email protected]>
126170
olenkabilonizhka <[email protected]>
171+
pranav-1720 <[email protected]>
172+
rahulrangers <[email protected]>
127173
128174

docs/types/index.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import isRealFloatingPointDataType = require( '@stdlib/array-base-assert-is-real
4242
import isSafeDataTypeCast = require( '@stdlib/array-base-assert-is-safe-data-type-cast' );
4343
import isSameKindDataTypeCast = require( '@stdlib/array-base-assert-is-same-kind-data-type-cast' );
4444
import isSignedIntegerDataType = require( '@stdlib/array-base-assert-is-signed-integer-data-type' );
45+
import isSortedAscending = require( '@stdlib/array-base-assert-is-sorted-ascending' );
4546
import isUnsignedIntegerDataType = require( '@stdlib/array-base-assert-is-unsigned-integer-data-type' );
4647

4748
/**
@@ -689,6 +690,38 @@ interface Namespace {
689690
*/
690691
isSignedIntegerDataType: typeof isSignedIntegerDataType;
691692

693+
/**
694+
* Tests if an array is sorted in ascending order.
695+
*
696+
* @param x - input array
697+
* @returns boolean indicating if an array is sorted in ascending order
698+
*
699+
* @example
700+
* var out = ns.isSortedAscending( [ 1, 2, 3 ] );
701+
* // returns true
702+
*
703+
* @example
704+
* var out = ns.isSortedAscending( [ 3, 2, 1 ] );
705+
* // returns false
706+
*
707+
* @example
708+
* var out = ns.isSortedAscending( [ 3, 3, 3 ] );
709+
* // returns true
710+
*
711+
* @example
712+
* var out = ns.isSortedAscending( [ 3 ] );
713+
* // returns true
714+
*
715+
* @example
716+
* var out = ns.isSortedAscending( [] );
717+
* // returns false
718+
*
719+
* @example
720+
* var out = ns.isSortedAscending( [ 1, 3, 2 ] );
721+
* // returns false
722+
*/
723+
isSortedAscending: typeof isSortedAscending;
724+
692725
/**
693726
* Tests whether an input value is a supported array unsigned integer data type.
694727
*

0 commit comments

Comments
 (0)