contains method
- int id
Returns true if this box contains an Object with the ID id
.
Implementation
bool contains(int id) {
final contains = allocate<Uint8>();
try {
checkObx(bindings.obx_box_contains(_cBox, id, contains));
return contains.value > 0 ? true : false;
} finally {
free(contains);
}
}