Skip to content

Commit 5113a67

Browse files
authored
Replaced polyfill with Float16Array = require( '@stdlib/array/float16' in main.js
Signed-off-by: Uday Kakade <[email protected]>
1 parent 06f6100 commit 5113a67

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/assert/is-float16array/lib

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/assert/is-float16array/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
var nativeClass = require( '@stdlib/utils/native-class' );
2424

25+
2526
// VARIABLES //
2627

2728
var hasFloat16Array = ( typeof Float16Array === 'function' ); // eslint-disable-line stdlib/require-globals
@@ -36,7 +37,7 @@ var hasFloat16Array = ( typeof Float16Array === 'function' ); // eslint-disable-
3637
* @returns {boolean} boolean indicating whether value is a Float16Array
3738
*
3839
* @example
39-
* var Float16Array = require( '@stdlib/array/float16/lib/polyfill.js' );
40+
* var Float16Array = require( '@stdlib/array/float16' );
4041
* var isFloat16Array = require( '@stdlib/assert/is-float16array' );
4142
*
4243
* var bool = isFloat16Array( new Float16Array( 10 ) );

0 commit comments

Comments
 (0)