We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80d76d2 commit 2d7dda3Copy full SHA for 2d7dda3
lib/node_modules/@stdlib/blas/tools/swap-factory/lib/main.js
@@ -71,7 +71,7 @@ function factory( base, dtype ) {
71
throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', base ) );
72
}
73
if ( !isDataType( dtype ) && dtype !== null ) {
74
- throw new TypeError( format( 'invalid argument. Second argument must a data type. Value: `%s`.', dtype ) );
+ throw new TypeError( format( 'invalid argument. Second argument must be a data type. Value: `%s`.', dtype ) );
75
76
isValid = ( dtype ) ? isValidWrapper : isndarrayLike;
77
return swap;
0 commit comments