We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba81480 commit 4e12994Copy full SHA for 4e12994
1 file changed
lib/node_modules/@stdlib/string/from-code-point/lib/main.js
@@ -21,7 +21,7 @@
21
// MODULES //
22
23
var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).isPrimitive;
24
-var isArrayLikeObject = require( '@stdlib/assert/is-array-like-object' );
+var isCollection = require( '@stdlib/assert/is-collection' );
25
var MAX_CODE_POINT = require( '@stdlib/constants/string/unicode-max' );
26
var MAX_BMP_CODE_POINT = require( '@stdlib/constants/string/unicode-max-bmp' );
27
@@ -74,7 +74,7 @@ function fromCodePoint( args ) {
74
var i;
75
76
len = arguments.length;
77
- if ( len === 1 && isArrayLikeObject( args ) ) {
+ if ( len === 1 && isCollection( args ) ) {
78
arr = arguments[ 0 ];
79
len = arr.length;
80
} else {
0 commit comments