MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / has_flags

Method has_flags

projects/Python/proto/proto.py:226–227  ·  view source on GitHub ↗
(self, flags)

Source from the content-addressed store, hash-verified

224
225 # Is flags set?
226 def has_flags(self, flags):
227 return ((self.value & flags.value) != 0) and ((self.value & flags.value) == flags.value)
228
229 # Set flags
230 def set_flags(self, flags):

Calls

no outgoing calls

Tested by 7

test_cloneMethod · 0.36