@stdlib/assert-is-complex64array 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +6 -6
- package/dist/index.js.map +2 -2
- package/docs/types/index.d.ts +2 -0
- package/lib/index.js +1 -0
- package/lib/main.js +2 -0
- package/package.json +3 -3
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2026 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -124,7 +124,7 @@ bool = isComplex64Array( new Uint32Array( 10 ) );
|
|
|
124
124
|
bool = isComplex64Array( new Float32Array( 10 ) );
|
|
125
125
|
// returns false
|
|
126
126
|
|
|
127
|
-
bool = isComplex64Array(
|
|
127
|
+
bool = isComplex64Array( [] );
|
|
128
128
|
// returns false
|
|
129
129
|
|
|
130
130
|
bool = isComplex64Array( {} );
|
|
@@ -181,7 +181,7 @@ See [LICENSE][stdlib-license].
|
|
|
181
181
|
|
|
182
182
|
## Copyright
|
|
183
183
|
|
|
184
|
-
Copyright © 2016-
|
|
184
|
+
Copyright © 2016-2026. The Stdlib [Authors][stdlib-authors].
|
|
185
185
|
|
|
186
186
|
</section>
|
|
187
187
|
|
|
@@ -194,8 +194,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
194
194
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-complex64array.svg
|
|
195
195
|
[npm-url]: https://npmjs.org/package/@stdlib/assert-is-complex64array
|
|
196
196
|
|
|
197
|
-
[test-image]: https://github.com/stdlib-js/assert-is-complex64array/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
198
|
-
[test-url]: https://github.com/stdlib-js/assert-is-complex64array/actions/workflows/test.yml?query=branch:v0.2.
|
|
197
|
+
[test-image]: https://github.com/stdlib-js/assert-is-complex64array/actions/workflows/test.yml/badge.svg?branch=v0.2.3
|
|
198
|
+
[test-url]: https://github.com/stdlib-js/assert-is-complex64array/actions/workflows/test.yml?query=branch:v0.2.3
|
|
199
199
|
|
|
200
200
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-complex64array/main.svg
|
|
201
201
|
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-complex64array?branch=main
|
|
@@ -207,8 +207,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
207
207
|
|
|
208
208
|
-->
|
|
209
209
|
|
|
210
|
-
[chat-image]: https://img.shields.io/
|
|
211
|
-
[chat-url]: https://
|
|
210
|
+
[chat-image]: https://img.shields.io/badge/zulip-join_chat-brightgreen.svg
|
|
211
|
+
[chat-url]: https://stdlib.zulipchat.com
|
|
212
212
|
|
|
213
213
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
214
214
|
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../lib/main.js", "../lib/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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// MODULES //\n\nvar Complex64Array = require( '@stdlib/array-complex64' );\nvar constructorName = require( '@stdlib/utils-constructor-name' );\n\n\n// MAIN //\n\n/**\n* Tests if a value is a Complex64Array.\n*\n* @param {*} value - value to test\n* @returns {boolean} boolean indicating whether value is a Complex64Array\n*\n* @example\n* var bool = isComplex64Array( new Complex64Array( 10 ) );\n* // returns true\n*\n* @example\n* var bool = isComplex64Array( [] );\n* // returns false\n*/\nfunction isComplex64Array( value ) {\n\treturn (\n\t\tvalue instanceof Complex64Array ||\n\t\tconstructorName( value ) === 'Complex64Array'\n\t);\n}\n\n\n// EXPORTS //\n\nmodule.exports = isComplex64Array;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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* Test if a value is a Complex64Array.\n*\n* @module @stdlib/assert-is-complex64array\n*\n* @example\n* var isComplex64Array = require( '@stdlib/assert-is-complex64array' );\n*\n* var bool = isComplex64Array( new Complex64Array( 10 ) );\n* // returns true\n*\n* bool = isComplex64Array( [] );\n* // returns false\n*/\n\n// MODULES //\n\nvar isComplex64Array = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = isComplex64Array;\n"],
|
|
5
|
-
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAiB,QAAS,yBAA0B,EACpDC,EAAkB,QAAS,gCAAiC,
|
|
4
|
+
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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// MODULES //\n\nvar Complex64Array = require( '@stdlib/array-complex64' );\nvar constructorName = require( '@stdlib/utils-constructor-name' );\n\n\n// MAIN //\n\n/**\n* Tests if a value is a Complex64Array.\n*\n* @param {*} value - value to test\n* @returns {boolean} boolean indicating whether value is a Complex64Array\n*\n* @example\n* var Complex64Array = require( '@stdlib/array-complex64' );\n*\n* var bool = isComplex64Array( new Complex64Array( 10 ) );\n* // returns true\n*\n* @example\n* var bool = isComplex64Array( [] );\n* // returns false\n*/\nfunction isComplex64Array( value ) {\n\treturn (\n\t\tvalue instanceof Complex64Array ||\n\t\tconstructorName( value ) === 'Complex64Array'\n\t);\n}\n\n\n// EXPORTS //\n\nmodule.exports = isComplex64Array;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2018 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* Test if a value is a Complex64Array.\n*\n* @module @stdlib/assert-is-complex64array\n*\n* @example\n* var Complex64Array = require( '@stdlib/array-complex64' );\n* var isComplex64Array = require( '@stdlib/assert-is-complex64array' );\n*\n* var bool = isComplex64Array( new Complex64Array( 10 ) );\n* // returns true\n*\n* bool = isComplex64Array( [] );\n* // returns false\n*/\n\n// MODULES //\n\nvar isComplex64Array = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = isComplex64Array;\n"],
|
|
5
|
+
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAiB,QAAS,yBAA0B,EACpDC,EAAkB,QAAS,gCAAiC,EAqBhE,SAASC,EAAkBC,EAAQ,CAClC,OACCA,aAAiBH,GACjBC,EAAiBE,CAAM,IAAM,gBAE/B,CAKAJ,EAAO,QAAUG,IChBjB,IAAIE,EAAmB,IAKvB,OAAO,QAAUA",
|
|
6
6
|
"names": ["require_main", "__commonJSMin", "exports", "module", "Complex64Array", "constructorName", "isComplex64Array", "value", "isComplex64Array"]
|
|
7
7
|
}
|
package/docs/types/index.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ import { Complex64Array } from '@stdlib/types/array';
|
|
|
29
29
|
* @returns boolean indicating whether value is a Complex64Array
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
33
|
+
*
|
|
32
34
|
* var bool = isComplex64Array( new Complex64Array( 10 ) );
|
|
33
35
|
* // returns true
|
|
34
36
|
*
|
package/lib/index.js
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
* @module @stdlib/assert-is-complex64array
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
27
28
|
* var isComplex64Array = require( '@stdlib/assert-is-complex64array' );
|
|
28
29
|
*
|
|
29
30
|
* var bool = isComplex64Array( new Complex64Array( 10 ) );
|
package/lib/main.js
CHANGED
|
@@ -33,6 +33,8 @@ var constructorName = require( '@stdlib/utils-constructor-name' );
|
|
|
33
33
|
* @returns {boolean} boolean indicating whether value is a Complex64Array
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
|
+
* var Complex64Array = require( '@stdlib/array-complex64' );
|
|
37
|
+
*
|
|
36
38
|
* var bool = isComplex64Array( new Complex64Array( 10 ) );
|
|
37
39
|
* // returns true
|
|
38
40
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/assert-is-complex64array",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Test if a value is a Complex64Array.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/array-complex64": "^0.
|
|
34
|
-
"@stdlib/utils-constructor-name": "^0.2.
|
|
33
|
+
"@stdlib/array-complex64": "^0.3.1",
|
|
34
|
+
"@stdlib/utils-constructor-name": "^0.2.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {},
|
|
37
37
|
"engines": {
|