Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ ok
Function
ok
src/common/result.ts:180–182 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
178
}
179
180
export
function
ok<T>(value: T): Result<T> {
181
return
Result.ok(value);
182
}
183
184
export
function
err<T>(error: string | Error): Result<T> {
185
return
Result.err(error);
Callers
nothing calls this directly
Calls
1
ok
Method · 0.80
Tested by
no test coverage detected