Package: gtk

Function gtk:bitset-contains

Lambda List

gtk:bitset-contains (bitset value)

Arguments

bitset -- a gtk:bitset instance
value -- an unsigned integer for the value to check

Return Value

True if bitset contains value.

Details

Checks if the given value has been added to the bitset.

Examples

(defvar bitset (gtk:bitset-new-range 100 50)) => BITSET
(gtk:bitset-contains bitset 99) => NIL
(gtk:bitset-contains bitset 100) => T
(gtk:bitset-contains bitset 149) => T
(gtk:bitset-contains bitset 150) => NIL    
 

See also

2025-3-13