DocumentationSapphire Utilities@sapphire/resultFunctionsokOn this pageFunction: ok() ok<T, E>(this: void, value?: T): Ok<T, E> Type Parameters Type ParameterDefault typeTundefinedEany Parameters ParameterTypethisvoidvalue?T Returns Ok<T, E> Defined in projects/utilities/packages/result/src/lib/Result.ts:1170