15 lines
321 B
JavaScript
Executable File
15 lines
321 B
JavaScript
Executable File
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.identity = void 0;
|
|
/**
|
|
* A type "conversion" from any type to itself
|
|
*/
|
|
function identity() {
|
|
return {
|
|
async from(a) {
|
|
return a;
|
|
},
|
|
};
|
|
}
|
|
exports.identity = identity;
|
|
//# sourceMappingURL=from.js.map
|