contains method
Returns true if this box contains an Object with the ID id
.
Implementation
bool contains(int id) {
final contains = malloc<Bool>();
try {
checkObx(C.box_contains(_ptr, id, contains));
return contains.value;
} finally {
malloc.free(contains);
}
}