count

fun count(value: Boolean): Int(source)

Counts the number of occurrences of the specified boolean value in the BitArray.

Return

The number of occurrences of the specified boolean value.

Parameters

value

The boolean value to count.