Files
2025-11-28 19:45:44 -07:00

15 lines
247 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
function attempt(func) {
try {
return [null, func()];
}
catch (error) {
return [error, null];
}
}
exports.attempt = attempt;