contains method

bool contains(
  1. int flag
)

Checks if a specific flag is set in this flag set.

flag The LMDB flag to check for.

Returns true if the flag is set, false otherwise.

Implementation

bool contains(int flag) => (_flags & flag) == flag;