import { pass } from '@blackglory/prelude' export function getResult(fn: () => T): T | undefined { try { return fn() } catch { pass() } }