Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Linen-dev/linen.dev
/ tc
Function
tc
packages/utilities/src/tc.ts:1–7 ·
view source on GitHub ↗
(fn: () => T)
Source
from the content-addressed store, hash-verified
1
export
function
tc<T>(fn: () => T) {
2
try {
3
return
fn();
4
} catch (error) {
5
return
null;
6
}
7
}
Callers
3
serializeUser
Function · 0.90
serializeAccount
Function · 0.90
refreshApiKeys
Function · 0.90
Calls
1
fn
Function · 0.85
Tested by
no test coverage detected