Effection Logo

function Ok

thefrontside/effection

function Ok<T>(value: T): Result<T>

Type Parameters

T

Parameters

value: T

Return Type

Result<T>

function Ok<T>(value?: T): Result<T | undefined>

Type Parameters

T

Parameters

valueoptional: T

Return Type

Result<T | undefined>