MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / __bool__

Method __bool__

codeclash/replay/base.py:50–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 return {"w": self.w, "h": self.h, "frames": self.frames, "winner": self.winner, "draw": self.draw, **self.extra}
49
50 def __bool__(self) -> bool: # truthy iff it actually has frames to play
51 return bool(self.frames)
52
53
54@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected