Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ ok
Method
ok
src/common/result.ts:41–43 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
39
}
40
41
static ok<T>(value: T): Result<T> {
42
return
new
Result<T>(true, value);
43
}
44
45
static err<T>(error: string | Error): Result<T> {
46
return
new
Result<T>(false, error);
Callers
4
from
Method · 0.80
resultFromJSON
Method · 0.80
map
Method · 0.80
ok
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected