File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
21
21
// MODULES //
22
22
23
- var format = require ( '@stdlib/string-format ' ) ;
23
+ var format = require ( '@stdlib/error-tools-fmtprodmsg ' ) ;
24
24
25
25
26
26
// MAIN //
@@ -56,7 +56,7 @@ var format = require( '@stdlib/string-format' );
56
56
function instanceOf ( value , constructor ) {
57
57
// TODO: replace with `isCallable` check
58
58
if ( typeof constructor !== 'function' ) {
59
- throw new TypeError ( format ( 'invalid argument. Second argument must be callable. Value: `%s`. ' , constructor ) ) ;
59
+ throw new TypeError ( format ( '03v3E ' , constructor ) ) ;
60
60
}
61
61
return ( value instanceof constructor ) ;
62
62
}
Original file line number Diff line number Diff line change 37
37
"url" : " https://github.com/stdlib-js/stdlib/issues"
38
38
},
39
39
"dependencies" : {
40
- "@stdlib/string-format " : " ^0.2.2" ,
40
+ "@stdlib/error-tools-fmtprodmsg " : " ^0.2.2" ,
41
41
"@stdlib/error-tools-fmtprodmsg" : " ^0.2.2"
42
42
},
43
43
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments