From 2ff5b95297e292d69faa8a597ca04783288ba4c8 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sat, 11 Jan 2025 22:47:03 +0000 Subject: [PATCH] Auto-generated commit --- .editorconfig | 2 +- .github/workflows/test_install.yml | 4 +- .github/workflows/test_published_package.yml | 4 +- CHANGELOG.md | 28 ++++++++++- CONTRIBUTORS | 49 ++++++++++++-------- NOTICE | 2 +- README.md | 2 +- dist/index.js | 2 +- dist/index.js.map | 4 +- lib/index.js | 9 ++++ package.json | 2 + 11 files changed, 78 insertions(+), 30 deletions(-) diff --git a/.editorconfig b/.editorconfig index 60d743f..0779e8a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -121,7 +121,7 @@ indent_style = tab [*.{md,md.txt}] indent_style = space indent_size = 4 -trim_trailing_whitespace = false +trim_trailing_whitespace = true # Note: this disables using two spaces to force a hard line break, which is permitted in Markdown. As we don't typically follow that practice (TMK), we should be safe to automatically trim. # Set properties for `usage.txt` files: [usage.txt] diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 98b26bb..aea7abd 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -50,8 +50,8 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - # Run workflow job if `publish` workflow run is successful or when the workflow is manually run: - if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} + # Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule: + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} # Define the sequence of job steps... steps: diff --git a/.github/workflows/test_published_package.yml b/.github/workflows/test_published_package.yml index 4907365..4f1866f 100644 --- a/.github/workflows/test_published_package.yml +++ b/.github/workflows/test_published_package.yml @@ -47,8 +47,8 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - # Run workflow job if `publish` workflow run is successful or when the workflow is manually run: - if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} + # Run workflow job if `publish` workflow run is successful or when the workflow is manually triggered or on a schedule: + if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }} # Define the job's steps: steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ee774..7381b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-11-21) +## Unreleased (2025-01-11)
@@ -20,6 +20,7 @@ ##### Features +- [`d11aaf3`](https://github.com/stdlib-js/stdlib/commit/d11aaf3e4ea651384185655584eea9c5b8ca9ae2) - add `isSortedAscending` to namespace - [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec) - update namespace TypeScript declarations [(#3190)](https://github.com/stdlib-js/stdlib/pull/3190) - [`43aa58f`](https://github.com/stdlib-js/stdlib/commit/43aa58f81dcad604f11a5715a1546c015b0a9623) - add `isByteOrder` to namespace - [`81b39fe`](https://github.com/stdlib-js/stdlib/commit/81b39fec06b8575149b2ab1b834a7577e6ac5e5d) - add `hasEqualValuesIndexed` to namespace @@ -113,6 +114,28 @@ +
+ +#### [@stdlib/array/base/assert/is-sorted-ascending](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array/base/assert/is-sorted-ascending) + +
+ +
+ +##### Features + +- [`5a848eb`](https://github.com/stdlib-js/stdlib/commit/5a848ebda6a2ff9cc34cfa5cf93ffce65b8bab0e) - add `array/base/assert/is-sorted-ascending` + +
+ + + +
+ +
+ + +
@@ -149,6 +172,9 @@ A total of 3 people contributed to this release. Thank you to the following cont
+- [`d11aaf3`](https://github.com/stdlib-js/stdlib/commit/d11aaf3e4ea651384185655584eea9c5b8ca9ae2) - **feat:** add `isSortedAscending` to namespace _(by Athan Reines)_ +- [`5a848eb`](https://github.com/stdlib-js/stdlib/commit/5a848ebda6a2ff9cc34cfa5cf93ffce65b8bab0e) - **feat:** add `array/base/assert/is-sorted-ascending` _(by Athan Reines)_ +- [`1d9e4dd`](https://github.com/stdlib-js/stdlib/commit/1d9e4dd5514ba4f3c1063dff732e37254dc0dd84) - **docs:** add missing comment _(by Athan Reines)_ - [`b6a2b0b`](https://github.com/stdlib-js/stdlib/commit/b6a2b0b27dc8cc1e9fc02d9679a3ce468cf49b9d) - **docs:** update namespace table of contents [(#3192)](https://github.com/stdlib-js/stdlib/pull/3192) _(by stdlib-bot, Philipp Burckhardt)_ - [`8b1548f`](https://github.com/stdlib-js/stdlib/commit/8b1548fb45c1ff131f5edac20cb984344a2d28ec) - **feat:** update namespace TypeScript declarations [(#3190)](https://github.com/stdlib-js/stdlib/pull/3190) _(by stdlib-bot, Philipp Burckhardt)_ - [`c00f27a`](https://github.com/stdlib-js/stdlib/commit/c00f27afb4b1853a7f4377fbbab7aec1dab9e34c) - **docs:** improve examples of `array/base/assert` namespace _(by Soumajit Chatterjee, Philipp Burckhardt)_ diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f09b30e..92d7552 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2,11 +2,14 @@ # # Contributors listed in alphabetical order. +Aadish Jain Aayush Khanna -AbhijitRaut04 <121740684+AbhijitRaut04@users.noreply.github.com> +Abhijit Raut Adarsh Palaskar Aditya Sapra -AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com> +Ahmed Atwa +Ahmed Kashkoush +Ahmed Khaled Aleksandr <112382387+alextes90@users.noreply.github.com> Ali Salesi Aman Bhansali @@ -23,6 +26,9 @@ Dan Rose Daniel Killenberger Daniel Yu <40680511+Daniel777y@users.noreply.github.com> Debashis Maharana +Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com> +Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com> +Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com> Dominic Lim <46486515+domlimm@users.noreply.github.com> Dominik Moritz Dorrin Sotoudeh @@ -44,51 +50,57 @@ Joey Reed Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com> Joris Labie Justin Dennison -Kaif Mohd +Karan Anand <119553199+anandkaranubc@users.noreply.github.com> Karthik Prakash <116057817+skoriop@users.noreply.github.com> -Khaldon Kohantika Nath <145763549+kohantikanath@users.noreply.github.com> Krishnendu Das <86651039+itskdhere@users.noreply.github.com> -Lovelin <100030865+lovelindhoni@users.noreply.github.com> +Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com> +Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com> Manik Sharma +Manvith M <148960168+manvith2003@users.noreply.github.com> Marcus Fantham Matt Cochrane Mihir Pandit <129577900+MSP20086@users.noreply.github.com> Milan Raj -Mohammad Kaif <98884589+Kaif987@users.noreply.github.com> +Mohammad Kaif Momtchil Momtchev Muhammad Haris Naresh Jagadeesan +Naveen Kumar Neeraj Pathak -NightKnight +Nishant Shinde <97207366+nishant-s7@users.noreply.github.com> Nithin Katta <88046362+nithinkatta@users.noreply.github.com> Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com> Ognjen Jevremović Oneday12323 <107678750+Oneday12323@users.noreply.github.com> +Ori Miles <97595296+orimiles5@users.noreply.github.com> Philipp Burckhardt Prajwal Kulkarni Pranav Goswami -Praneki <97080887+PraneGIT@users.noreply.github.com> -Pratik <97464067+Pratik772846@users.noreply.github.com> +Pranjal Jha <97080887+PraneGIT@users.noreply.github.com> +Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com> +Pratik Singh <97464067+Pratik772846@users.noreply.github.com> Pratyush Kumar Chouhan -Priyansh <88396544+itsspriyansh@users.noreply.github.com> +Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com> +Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com> Pushpendra Chandravanshi -RISHAV <115060907+rishav2404@users.noreply.github.com> Raunak Kumar Gupta Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com> Ricky Reusser Ridam Garg <67867319+RidamGarg@users.noreply.github.com> +Rishav <115060907+rishav2404@users.noreply.github.com> Robert Gislason Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com> -Rutam <138517416+performant23@users.noreply.github.com> +Rutam Kathale <138517416+performant23@users.noreply.github.com> Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com> Ryan Seal +Rylan Yang <137365285+rylany27@users.noreply.github.com> Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com> -SarthakPaandey <145528240+SarthakPaandey@users.noreply.github.com> +Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com> Saurabh Singh Seyyed Parsa Neshaei Shashank Shekhar Singh -Shivam <11shivam00@gmail.com> +Shivam Ahir <11shivam00@gmail.com> Shraddheya Shendre Shubh Mehta <93862397+Shubh942@users.noreply.github.com> Shubham Mishra @@ -97,7 +109,7 @@ Snehil Shah Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com> Spandan Barve Stephannie Jiménez Gacha -Suraj kumar <125961509+kumarsuraj212003@users.noreply.github.com> +Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com> Tirtadwipa Manunggal Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com> Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com> @@ -106,12 +118,11 @@ Utkarsh Raj UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com> Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com> Varad Gupta +Vinit Pandit <106718914+MeastroZI@users.noreply.github.com> +Vivek Maurya Xiaochuan Ye +Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com> Yernar Yergaziyev -naveen -nishant-s7 <97207366+nishant-s7@users.noreply.github.com> olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com> -orimiles5 <97595296+orimiles5@users.noreply.github.com> rainn <88160429+AmCodesLame@users.noreply.github.com> rei2hu -yaswanth <116426380+yaswanthkosuru@users.noreply.github.com> diff --git a/NOTICE b/NOTICE index e6e7482..cbd3a29 100644 --- a/NOTICE +++ b/NOTICE @@ -1 +1 @@ -Copyright (c) 2016-2024 The Stdlib Authors. +Copyright (c) 2016-2025 The Stdlib Authors. diff --git a/README.md b/README.md index 6189207..6f7541e 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ See [LICENSE][stdlib-license]. ## Copyright -Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. +Copyright © 2016-2025. The Stdlib [Authors][stdlib-authors].
diff --git a/dist/index.js b/dist/index.js index 39b9f33..9a03329 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,3 +1,3 @@ -"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"contains",require('@stdlib/array-base-assert-contains/dist'));r(e,"hasEqualValues",require('@stdlib/array-base-assert-has-equal-values/dist'));r(e,"hasEqualValuesIndexed",require('@stdlib/array-base-assert-has-equal-values-indexed/dist'));r(e,"hasSameValues",require('@stdlib/array-base-assert-has-same-values/dist'));r(e,"isAccessorArray",require('@stdlib/array-base-assert-is-accessor-array/dist'));r(e,"isBooleanDataType",require('@stdlib/array-base-assert-is-boolean-data-type/dist'));r(e,"isBooleanArray",require('@stdlib/array-base-assert-is-booleanarray/dist'));r(e,"isByteOrder",require('@stdlib/array-base-assert-is-byte-order/dist'));r(e,"isComplexFloatingPointDataType",require('@stdlib/array-base-assert-is-complex-floating-point-data-type/dist'));r(e,"isComplexTypedArray",require('@stdlib/array-base-assert-is-complex-typed-array/dist'));r(e,"isComplex64Array",require('@stdlib/array-base-assert-is-complex64array/dist'));r(e,"isComplex128Array",require('@stdlib/array-base-assert-is-complex128array/dist'));r(e,"isDataType",require('@stdlib/array-base-assert-is-data-type/dist'));r(e,"isFloatingPointDataType",require('@stdlib/array-base-assert-is-floating-point-data-type/dist'));r(e,"isIntegerDataType",require('@stdlib/array-base-assert-is-integer-data-type/dist'));r(e,"isMostlySafeDataTypeCast",require('@stdlib/array-base-assert-is-mostly-safe-data-type-cast/dist'));r(e,"isNumericDataType",require('@stdlib/array-base-assert-is-numeric-data-type/dist'));r(e,"isRealDataType",require('@stdlib/array-base-assert-is-real-data-type/dist'));r(e,"isRealFloatingPointDataType",require('@stdlib/array-base-assert-is-real-floating-point-data-type/dist'));r(e,"isSafeDataTypeCast",require('@stdlib/array-base-assert-is-safe-data-type-cast/dist'));r(e,"isSameKindDataTypeCast",require('@stdlib/array-base-assert-is-same-kind-data-type-cast/dist'));r(e,"isSignedIntegerDataType",require('@stdlib/array-base-assert-is-signed-integer-data-type/dist'));r(e,"isUnsignedIntegerDataType",require('@stdlib/array-base-assert-is-unsigned-integer-data-type/dist'));module.exports=e; +"use strict";var r=require('@stdlib/utils-define-read-only-property/dist'),e={};r(e,"contains",require('@stdlib/array-base-assert-contains/dist'));r(e,"hasEqualValues",require('@stdlib/array-base-assert-has-equal-values/dist'));r(e,"hasEqualValuesIndexed",require('@stdlib/array-base-assert-has-equal-values-indexed/dist'));r(e,"hasSameValues",require('@stdlib/array-base-assert-has-same-values/dist'));r(e,"isAccessorArray",require('@stdlib/array-base-assert-is-accessor-array/dist'));r(e,"isBooleanDataType",require('@stdlib/array-base-assert-is-boolean-data-type/dist'));r(e,"isBooleanArray",require('@stdlib/array-base-assert-is-booleanarray/dist'));r(e,"isByteOrder",require('@stdlib/array-base-assert-is-byte-order/dist'));r(e,"isComplexFloatingPointDataType",require('@stdlib/array-base-assert-is-complex-floating-point-data-type/dist'));r(e,"isComplexTypedArray",require('@stdlib/array-base-assert-is-complex-typed-array/dist'));r(e,"isComplex64Array",require('@stdlib/array-base-assert-is-complex64array/dist'));r(e,"isComplex128Array",require('@stdlib/array-base-assert-is-complex128array/dist'));r(e,"isDataType",require('@stdlib/array-base-assert-is-data-type/dist'));r(e,"isFloatingPointDataType",require('@stdlib/array-base-assert-is-floating-point-data-type/dist'));r(e,"isIntegerDataType",require('@stdlib/array-base-assert-is-integer-data-type/dist'));r(e,"isMostlySafeDataTypeCast",require('@stdlib/array-base-assert-is-mostly-safe-data-type-cast/dist'));r(e,"isNumericDataType",require('@stdlib/array-base-assert-is-numeric-data-type/dist'));r(e,"isRealDataType",require('@stdlib/array-base-assert-is-real-data-type/dist'));r(e,"isRealFloatingPointDataType",require('@stdlib/array-base-assert-is-real-floating-point-data-type/dist'));r(e,"isSafeDataTypeCast",require('@stdlib/array-base-assert-is-safe-data-type-cast/dist'));r(e,"isSameKindDataTypeCast",require('@stdlib/array-base-assert-is-same-kind-data-type-cast/dist'));r(e,"isSignedIntegerDataType",require('@stdlib/array-base-assert-is-signed-integer-data-type/dist'));r(e,"isSortedAscending",require('@stdlib/array-base-assert-is-sorted-ascending/dist'));r(e,"isUnsignedIntegerDataType",require('@stdlib/array-base-assert-is-unsigned-integer-data-type/dist'));module.exports=e; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map diff --git a/dist/index.js.map b/dist/index.js.map index 191aa69..c91eeb4 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../lib/index.js"], - "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name contains\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/contains}\n*/\nsetReadOnly( ns, 'contains', require( '@stdlib/array-base-assert-contains' ) );\n\n/**\n* @name hasEqualValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-equal-values}\n*/\nsetReadOnly( ns, 'hasEqualValues', require( '@stdlib/array-base-assert-has-equal-values' ) );\n\n/**\n* @name hasEqualValuesIndexed\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-equal-values-indexed}\n*/\nsetReadOnly( ns, 'hasEqualValuesIndexed', require( '@stdlib/array-base-assert-has-equal-values-indexed' ) );\n\n/**\n* @name hasSameValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-same-values}\n*/\nsetReadOnly( ns, 'hasSameValues', require( '@stdlib/array-base-assert-has-same-values' ) );\n\n/**\n* @name isAccessorArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-accessor-array}\n*/\nsetReadOnly( ns, 'isAccessorArray', require( '@stdlib/array-base-assert-is-accessor-array' ) );\n\n/**\n* @name isBooleanDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-boolean-data-type}\n*/\nsetReadOnly( ns, 'isBooleanDataType', require( '@stdlib/array-base-assert-is-boolean-data-type' ) );\n\n/**\n* @name isBooleanArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-booleanarray}\n*/\nsetReadOnly( ns, 'isBooleanArray', require( '@stdlib/array-base-assert-is-booleanarray' ) );\n\n/**\n* @name isByteOrder\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-byte-order}\n*/\nsetReadOnly( ns, 'isByteOrder', require( '@stdlib/array-base-assert-is-byte-order' ) );\n\n/**\n* @name isComplexFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isComplexFloatingPointDataType', require( '@stdlib/array-base-assert-is-complex-floating-point-data-type' ) );\n\n/**\n* @name isComplexTypedArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-typed-array}\n*/\nsetReadOnly( ns, 'isComplexTypedArray', require( '@stdlib/array-base-assert-is-complex-typed-array' ) );\n\n/**\n* @name isComplex64Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex64array}\n*/\nsetReadOnly( ns, 'isComplex64Array', require( '@stdlib/array-base-assert-is-complex64array' ) );\n\n/**\n* @name isComplex128Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex128array}\n*/\nsetReadOnly( ns, 'isComplex128Array', require( '@stdlib/array-base-assert-is-complex128array' ) );\n\n/**\n* @name isDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-data-type}\n*/\nsetReadOnly( ns, 'isDataType', require( '@stdlib/array-base-assert-is-data-type' ) );\n\n/**\n* @name isFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isFloatingPointDataType', require( '@stdlib/array-base-assert-is-floating-point-data-type' ) );\n\n/**\n* @name isIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-integer-data-type}\n*/\nsetReadOnly( ns, 'isIntegerDataType', require( '@stdlib/array-base-assert-is-integer-data-type' ) );\n\n/**\n* @name isMostlySafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-mostly-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isMostlySafeDataTypeCast', require( '@stdlib/array-base-assert-is-mostly-safe-data-type-cast' ) );\n\n/**\n* @name isNumericDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-numeric-data-type}\n*/\nsetReadOnly( ns, 'isNumericDataType', require( '@stdlib/array-base-assert-is-numeric-data-type' ) );\n\n/**\n* @name isRealDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-data-type}\n*/\nsetReadOnly( ns, 'isRealDataType', require( '@stdlib/array-base-assert-is-real-data-type' ) );\n\n/**\n* @name isRealFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isRealFloatingPointDataType', require( '@stdlib/array-base-assert-is-real-floating-point-data-type' ) );\n\n/**\n* @name isSafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isSafeDataTypeCast', require( '@stdlib/array-base-assert-is-safe-data-type-cast' ) );\n\n/**\n* @name isSameKindDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-same-kind-data-type-cast}\n*/\nsetReadOnly( ns, 'isSameKindDataTypeCast', require( '@stdlib/array-base-assert-is-same-kind-data-type-cast' ) );\n\n/**\n* @name isSignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-signed-integer-data-type}\n*/\nsetReadOnly( ns, 'isSignedIntegerDataType', require( '@stdlib/array-base-assert-is-signed-integer-data-type' ) );\n\n/**\n* @name isUnsignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-unsigned-integer-data-type}\n*/\nsetReadOnly( ns, 'isUnsignedIntegerDataType', require( '@stdlib/array-base-assert-is-unsigned-integer-data-type' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"], - "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,WAAY,QAAS,oCAAqC,CAAE,EAS7ED,EAAaC,EAAI,iBAAkB,QAAS,4CAA6C,CAAE,EAS3FD,EAAaC,EAAI,wBAAyB,QAAS,oDAAqD,CAAE,EAS1GD,EAAaC,EAAI,gBAAiB,QAAS,2CAA4C,CAAE,EASzFD,EAAaC,EAAI,kBAAmB,QAAS,6CAA8C,CAAE,EAS7FD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,2CAA4C,CAAE,EAS1FD,EAAaC,EAAI,cAAe,QAAS,yCAA0C,CAAE,EASrFD,EAAaC,EAAI,iCAAkC,QAAS,+DAAgE,CAAE,EAS9HD,EAAaC,EAAI,sBAAuB,QAAS,kDAAmD,CAAE,EAStGD,EAAaC,EAAI,mBAAoB,QAAS,6CAA8C,CAAE,EAS9FD,EAAaC,EAAI,oBAAqB,QAAS,8CAA+C,CAAE,EAShGD,EAAaC,EAAI,aAAc,QAAS,wCAAyC,CAAE,EASnFD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,2BAA4B,QAAS,yDAA0D,CAAE,EASlHD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,6CAA8C,CAAE,EAS5FD,EAAaC,EAAI,8BAA+B,QAAS,4DAA6D,CAAE,EASxHD,EAAaC,EAAI,qBAAsB,QAAS,kDAAmD,CAAE,EASrGD,EAAaC,EAAI,yBAA0B,QAAS,uDAAwD,CAAE,EAS9GD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,4BAA6B,QAAS,yDAA0D,CAAE,EAKnH,OAAO,QAAUA", + "sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2022 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/*\n* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.\n*/\n\n// MODULES //\n\nvar setReadOnly = require( '@stdlib/utils-define-read-only-property' );\n\n\n// MAIN //\n\n/**\n* Namespace.\n*\n* @namespace ns\n*/\nvar ns = {};\n\n/**\n* @name contains\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/contains}\n*/\nsetReadOnly( ns, 'contains', require( '@stdlib/array-base-assert-contains' ) );\n\n/**\n* @name hasEqualValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-equal-values}\n*/\nsetReadOnly( ns, 'hasEqualValues', require( '@stdlib/array-base-assert-has-equal-values' ) );\n\n/**\n* @name hasEqualValuesIndexed\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-equal-values-indexed}\n*/\nsetReadOnly( ns, 'hasEqualValuesIndexed', require( '@stdlib/array-base-assert-has-equal-values-indexed' ) );\n\n/**\n* @name hasSameValues\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/has-same-values}\n*/\nsetReadOnly( ns, 'hasSameValues', require( '@stdlib/array-base-assert-has-same-values' ) );\n\n/**\n* @name isAccessorArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-accessor-array}\n*/\nsetReadOnly( ns, 'isAccessorArray', require( '@stdlib/array-base-assert-is-accessor-array' ) );\n\n/**\n* @name isBooleanDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-boolean-data-type}\n*/\nsetReadOnly( ns, 'isBooleanDataType', require( '@stdlib/array-base-assert-is-boolean-data-type' ) );\n\n/**\n* @name isBooleanArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-booleanarray}\n*/\nsetReadOnly( ns, 'isBooleanArray', require( '@stdlib/array-base-assert-is-booleanarray' ) );\n\n/**\n* @name isByteOrder\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-byte-order}\n*/\nsetReadOnly( ns, 'isByteOrder', require( '@stdlib/array-base-assert-is-byte-order' ) );\n\n/**\n* @name isComplexFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isComplexFloatingPointDataType', require( '@stdlib/array-base-assert-is-complex-floating-point-data-type' ) );\n\n/**\n* @name isComplexTypedArray\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex-typed-array}\n*/\nsetReadOnly( ns, 'isComplexTypedArray', require( '@stdlib/array-base-assert-is-complex-typed-array' ) );\n\n/**\n* @name isComplex64Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex64array}\n*/\nsetReadOnly( ns, 'isComplex64Array', require( '@stdlib/array-base-assert-is-complex64array' ) );\n\n/**\n* @name isComplex128Array\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-complex128array}\n*/\nsetReadOnly( ns, 'isComplex128Array', require( '@stdlib/array-base-assert-is-complex128array' ) );\n\n/**\n* @name isDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-data-type}\n*/\nsetReadOnly( ns, 'isDataType', require( '@stdlib/array-base-assert-is-data-type' ) );\n\n/**\n* @name isFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isFloatingPointDataType', require( '@stdlib/array-base-assert-is-floating-point-data-type' ) );\n\n/**\n* @name isIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-integer-data-type}\n*/\nsetReadOnly( ns, 'isIntegerDataType', require( '@stdlib/array-base-assert-is-integer-data-type' ) );\n\n/**\n* @name isMostlySafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-mostly-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isMostlySafeDataTypeCast', require( '@stdlib/array-base-assert-is-mostly-safe-data-type-cast' ) );\n\n/**\n* @name isNumericDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-numeric-data-type}\n*/\nsetReadOnly( ns, 'isNumericDataType', require( '@stdlib/array-base-assert-is-numeric-data-type' ) );\n\n/**\n* @name isRealDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-data-type}\n*/\nsetReadOnly( ns, 'isRealDataType', require( '@stdlib/array-base-assert-is-real-data-type' ) );\n\n/**\n* @name isRealFloatingPointDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-real-floating-point-data-type}\n*/\nsetReadOnly( ns, 'isRealFloatingPointDataType', require( '@stdlib/array-base-assert-is-real-floating-point-data-type' ) );\n\n/**\n* @name isSafeDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-safe-data-type-cast}\n*/\nsetReadOnly( ns, 'isSafeDataTypeCast', require( '@stdlib/array-base-assert-is-safe-data-type-cast' ) );\n\n/**\n* @name isSameKindDataTypeCast\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-same-kind-data-type-cast}\n*/\nsetReadOnly( ns, 'isSameKindDataTypeCast', require( '@stdlib/array-base-assert-is-same-kind-data-type-cast' ) );\n\n/**\n* @name isSignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-signed-integer-data-type}\n*/\nsetReadOnly( ns, 'isSignedIntegerDataType', require( '@stdlib/array-base-assert-is-signed-integer-data-type' ) );\n\n/**\n* @name isSortedAscending\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-sorted-ascending}\n*/\nsetReadOnly( ns, 'isSortedAscending', require( '@stdlib/array-base-assert-is-sorted-ascending' ) );\n\n/**\n* @name isUnsignedIntegerDataType\n* @memberof ns\n* @readonly\n* @type {Function}\n* @see {@link module:@stdlib/array/base/assert/is-unsigned-integer-data-type}\n*/\nsetReadOnly( ns, 'isUnsignedIntegerDataType', require( '@stdlib/array-base-assert-is-unsigned-integer-data-type' ) );\n\n\n// EXPORTS //\n\nmodule.exports = ns;\n"], + "mappings": "aA0BA,IAAIA,EAAc,QAAS,yCAA0C,EAUjEC,EAAK,CAAC,EASVD,EAAaC,EAAI,WAAY,QAAS,oCAAqC,CAAE,EAS7ED,EAAaC,EAAI,iBAAkB,QAAS,4CAA6C,CAAE,EAS3FD,EAAaC,EAAI,wBAAyB,QAAS,oDAAqD,CAAE,EAS1GD,EAAaC,EAAI,gBAAiB,QAAS,2CAA4C,CAAE,EASzFD,EAAaC,EAAI,kBAAmB,QAAS,6CAA8C,CAAE,EAS7FD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,2CAA4C,CAAE,EAS1FD,EAAaC,EAAI,cAAe,QAAS,yCAA0C,CAAE,EASrFD,EAAaC,EAAI,iCAAkC,QAAS,+DAAgE,CAAE,EAS9HD,EAAaC,EAAI,sBAAuB,QAAS,kDAAmD,CAAE,EAStGD,EAAaC,EAAI,mBAAoB,QAAS,6CAA8C,CAAE,EAS9FD,EAAaC,EAAI,oBAAqB,QAAS,8CAA+C,CAAE,EAShGD,EAAaC,EAAI,aAAc,QAAS,wCAAyC,CAAE,EASnFD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,2BAA4B,QAAS,yDAA0D,CAAE,EASlHD,EAAaC,EAAI,oBAAqB,QAAS,gDAAiD,CAAE,EASlGD,EAAaC,EAAI,iBAAkB,QAAS,6CAA8C,CAAE,EAS5FD,EAAaC,EAAI,8BAA+B,QAAS,4DAA6D,CAAE,EASxHD,EAAaC,EAAI,qBAAsB,QAAS,kDAAmD,CAAE,EASrGD,EAAaC,EAAI,yBAA0B,QAAS,uDAAwD,CAAE,EAS9GD,EAAaC,EAAI,0BAA2B,QAAS,uDAAwD,CAAE,EAS/GD,EAAaC,EAAI,oBAAqB,QAAS,+CAAgD,CAAE,EASjGD,EAAaC,EAAI,4BAA6B,QAAS,yDAA0D,CAAE,EAKnH,OAAO,QAAUA", "names": ["setReadOnly", "ns"] } diff --git a/lib/index.js b/lib/index.js index 8ccda86..591dc6a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -234,6 +234,15 @@ setReadOnly( ns, 'isSameKindDataTypeCast', require( '@stdlib/array-base-assert-i */ setReadOnly( ns, 'isSignedIntegerDataType', require( '@stdlib/array-base-assert-is-signed-integer-data-type' ) ); +/** +* @name isSortedAscending +* @memberof ns +* @readonly +* @type {Function} +* @see {@link module:@stdlib/array/base/assert/is-sorted-ascending} +*/ +setReadOnly( ns, 'isSortedAscending', require( '@stdlib/array-base-assert-is-sorted-ascending' ) ); + /** * @name isUnsignedIntegerDataType * @memberof ns diff --git a/package.json b/package.json index 55324bd..d194c33 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "@stdlib/array-base-assert-is-safe-data-type-cast": "^0.3.2", "@stdlib/array-base-assert-is-same-kind-data-type-cast": "^0.3.2", "@stdlib/array-base-assert-is-signed-integer-data-type": "^0.2.1", + "@stdlib/array-base-assert-is-sorted-ascending": "github:stdlib-js/array-base-assert-is-sorted-ascending#main", "@stdlib/array-base-assert-is-unsigned-integer-data-type": "^0.2.1", "@stdlib/utils-define-read-only-property": "^0.2.2" }, @@ -67,6 +68,7 @@ "@stdlib/array-base-arraylike2object": "^0.2.1", "@stdlib/array-base-getter": "^0.2.2", "@stdlib/array-base-ones": "^0.2.2", + "@stdlib/array-base-zero-to": "^0.2.1", "@stdlib/array-base-zeros": "^0.2.2", "@stdlib/array-bool": "^0.1.0", "@stdlib/array-byte-orders": "github:stdlib-js/array-byte-orders#main",