File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
lib/node_modules/@stdlib/array/complex64/lib Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ var isComplexLike = require( '@stdlib/assert/is-complex-like' );
3434var isEven = require ( '@stdlib/math/base/assert/is-even' ) ;
3535var isInteger = require ( '@stdlib/math/base/assert/is-integer' ) ;
3636var isComplex64Array = require ( '@stdlib/array/base/assert/is-complex64array' ) ;
37+ var isComplex128Array = require ( '@stdlib/array/base/assert/is-complex128array' ) ;
3738var hasIteratorSymbolSupport = require ( '@stdlib/assert/has-iterator-symbol-support' ) ;
3839var ITERATOR_SYMBOL = require ( '@stdlib/symbol/iterator' ) ;
3940var setReadOnly = require ( '@stdlib/utils/define-nonenumerable-read-only-property' ) ;
@@ -102,22 +103,6 @@ function isComplexArrayConstructor( value ) {
102103 ) ;
103104}
104105
105- /**
106- * Returns a boolean indicating if a value is a `Complex128Array`.
107- *
108- * @private
109- * @param {* } value - value to test
110- * @returns {boolean } boolean indicating if a value is a `Complex128Array`
111- */
112- function isComplex128Array ( value ) { // TODO: move to array/base/assert/is-complex128-array
113- return (
114- typeof value === 'object' &&
115- value !== null &&
116- value . constructor . name === 'Complex128Array' &&
117- value . BYTES_PER_ELEMENT === BYTES_PER_ELEMENT * 2
118- ) ;
119- }
120-
121106/**
122107* Retrieves a complex number from a complex number array buffer.
123108*
You can’t perform that action at this time.
0 commit comments