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' );
34
34
var isEven = require ( '@stdlib/math/base/assert/is-even' ) ;
35
35
var isInteger = require ( '@stdlib/math/base/assert/is-integer' ) ;
36
36
var isComplex64Array = require ( '@stdlib/array/base/assert/is-complex64array' ) ;
37
+ var isComplex128Array = require ( '@stdlib/array/base/assert/is-complex128array' ) ;
37
38
var hasIteratorSymbolSupport = require ( '@stdlib/assert/has-iterator-symbol-support' ) ;
38
39
var ITERATOR_SYMBOL = require ( '@stdlib/symbol/iterator' ) ;
39
40
var setReadOnly = require ( '@stdlib/utils/define-nonenumerable-read-only-property' ) ;
@@ -102,22 +103,6 @@ function isComplexArrayConstructor( value ) {
102
103
) ;
103
104
}
104
105
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
-
121
106
/**
122
107
* Retrieves a complex number from a complex number array buffer.
123
108
*
You can’t perform that action at this time.
0 commit comments