5 lines
No EOL
179 B
JavaScript
5 lines
No EOL
179 B
JavaScript
var isArray = Array.isArray;
|
|
export function argsOrArgArray(args) {
|
|
return args.length === 1 && isArray(args[0]) ? args[0] : args;
|
|
}
|
|
//# sourceMappingURL=argsOrArgArray.js.map
|