bs-platform
Version:
bucklescript compiler, ocaml standard libary by bucklescript and its required runtime support
38 lines (28 loc) • 522 B
JavaScript
;
function test(x) {
if (typeof x === "string") {
return /* tuple */[
/* String */0,
x
];
} else {
return /* tuple */[
/* Buffer */1,
x
];
}
}
var Path;
var Fs;
var Process;
var Module;
var $$Buffer;
var Child_process;
exports.Path = Path;
exports.Fs = Fs;
exports.Process = Process;
exports.Module = Module;
exports.$$Buffer = $$Buffer;
exports.Child_process = Child_process;
exports.test = test;
/* No side effect */