File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lib/node_modules/@stdlib/assert/is-float16array/lib Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1818
1919'use strict' ;
2020
21+
2122// MODULES //
2223
2324var nativeClass = require ( '@stdlib/utils/native-class' ) ;
2425
2526
2627// VARIABLES //
2728
28- var hasFloat16Array = ( typeof Float16Array === 'function' ) ; // eslint-disable-line stdlib/require-globals
29+ var hasFloat16Array = ( typeof Float16Array === 'function' ) ;
2930
3031
3132// MAIN //
@@ -48,11 +49,12 @@ var hasFloat16Array = ( typeof Float16Array === 'function' ); // eslint-disable-
4849*/
4950function isFloat16Array ( value ) {
5051 return (
51- ( hasFloat16Array && value instanceof Float16Array ) || // eslint-disable-line stdlib/require-globals, no-undef
52+ ( hasFloat16Array && value instanceof Float16Array ) ||
5253 nativeClass ( value ) === '[object Float16Array]'
5354 ) ;
5455}
5556
57+
5658// EXPORTS //
5759
5860module . exports = isFloat16Array ;
You can’t perform that action at this time.
0 commit comments