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