ResultAsBool function
Fully qualified name: Std.Convert.ResultAsBool
function ResultAsBool(input : Result) : Bool
Summary
Converts a Result
type to a Bool
type, where One
is mapped to
true
and Zero
is mapped to false
.
Input
input
Result
to be converted.
Output
A Bool
representing the input
.