Create a ring of boolean values

bools  list (array)

Create a new ring of booleans values from 1s and 0s, which can be easier to write and manipulate in a live setting.

Introduced in v2.2

Examples

# Example 1

(bools 1, 0)   



#=> (ring true, false)



# Example 2

(bools 1, 0, true, false, nil)



#=> (ring true, false, true, false, false)