BITMAP_HAS_ANY
Function Description
The BITMAP_HAS_ANY function is used to check if the left bitmap contains any of the elements in the right bitmap. In other words, this function is used to determine if there is an intersection between the two bitmaps.
Syntax Format
Parameter Description
left
: The first parameter of type bitmap.right
: The second parameter of type bitmap.
Return Result
Returns a boolean value. If the left bitmap contains any element from the right bitmap, it returns true; otherwise, it returns false.
Usage Example
- Check if two bitmaps intersect:
Results:
Results:
Results:
Notes
- Ensure that the parameter types passed in are correct, otherwise it may cause the function to fail.
- The BITMAP_HAS_ANY function is mainly used for comparing bitmap type data and may not be applicable to other data types.