ok
ok<
T>(value):Ok<T>
Defined in: packages/core/src/result.ts:54
Create a successful result containing the given value.
Type Parameters
섹션 제목: “Type Parameters”T
Parameters
섹션 제목: “Parameters”value
섹션 제목: “value”T
The success value to wrap
Returns
섹션 제목: “Returns”Ok<T>
An Ok result containing the value