rescript
Version:
ReScript toolchain
40 lines (29 loc) • 398 B
JavaScript
function test(x) {
if (typeof x === "string") {
return [
/* String */0,
x
];
} else {
return [
/* Buffer */1,
x
];
}
}
var Path;
var Fs;
var Process;
var Module;
var $$Buffer;
var Child_process;
export {
Path ,
Fs ,
Process ,
Module ,
$$Buffer ,
Child_process ,
test ,
}
/* No side effect */