Skip to main content

Result

Result.is_ok

def Result.is_ok() -> bool

Returns true if the result is an Ok value, false if it is an Error


Result.unwrap

def Result.unwrap()

Unwrap the result, returning the inner value if the result is Ok. If the result is an Error, it will fail


Result.unwrap_err

def Result.unwrap_err() -> bxl.Error

Unwrap the error, returning the inner error if the result is Err. If the result is an Ok, it will fail