export async function nullcatch(fn: () => Promise) { try { return await fn() } catch { return null } }