Skip to content
Subhajit Sahu edited this page Mar 24, 2021 · 3 revisions

Checks if ith value is true. 📰 📘


select[n] i a b ...
-- i: index
-- a: 1st boolean
-- b: 2nd boolean
import Boolean exposing (..)

select 0 True False
-- True   ^

select 1 True False
-- False        ^

select4 1 True True False False
-- True         ^

select4 2 True True False False
-- False              ^


References

Clone this wiki locally