Finally import id from UnitJS.Fun

This commit is contained in:
Tissevert 2022-10-02 19:40:51 +02:00
parent 213eec19fe
commit c411ffbcac

View file

@ -1,12 +1,10 @@
import id from UnitJS.Fun;
return {
make: make,
Int: make({toKey: id, ofKey: parseInt})
};
function id(x) {
return x;
}
function make(type) {
type = type ?? {toKey: id, ofKey: id};