first commit
This commit is contained in:
commit
d3bb4199e1
12081 files changed
+662460
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
export default function requiredArgs(required, args) {
|
||||
if (args.length < required) {
|
||||
throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user