File tree 1 file changed +1
-16
lines changed
lib/node_modules/@stdlib/array/complex64/lib
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ var isFunction = require( '@stdlib/assert/is-function' );
33
33
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
+ var isComplex64Array = require ( '@stdlib/array/base/assert/is-complex64array' ) ;
36
37
var hasIteratorSymbolSupport = require ( '@stdlib/assert/has-iterator-symbol-support' ) ;
37
38
var ITERATOR_SYMBOL = require ( '@stdlib/symbol/iterator' ) ;
38
39
var setReadOnly = require ( '@stdlib/utils/define-nonenumerable-read-only-property' ) ;
@@ -101,22 +102,6 @@ function isComplexArrayConstructor( value ) {
101
102
) ;
102
103
}
103
104
104
- /**
105
- * Returns a boolean indicating if a value is a `Complex64Array`.
106
- *
107
- * @private
108
- * @param {* } value - value to test
109
- * @returns {boolean } boolean indicating if a value is a `Complex64Array`
110
- */
111
- function isComplex64Array ( value ) { // TODO: move to array/base/assert/is-complex64-array
112
- return (
113
- typeof value === 'object' &&
114
- value !== null &&
115
- value . constructor . name === 'Complex64Array' &&
116
- value . BYTES_PER_ELEMENT === BYTES_PER_ELEMENT
117
- ) ;
118
- }
119
-
120
105
/**
121
106
* Returns a boolean indicating if a value is a `Complex128Array`.
122
107
*
You can’t perform that action at this time.
0 commit comments