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