tryCatch
import { tryCatch } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/datum.ts";Create a Datum from a function that might throw.
@example
import { tryCatch } from "./datum.ts";
const safeParse = tryCatch(JSON.parse);
const result1 = safeParse('{"key": "value"}'); // Replete({key: "value"})
const result2 = safeParse('invalid json'); // Initial