MCPcopy Create free account
hub / github.com/SolarLune/masterplan / All

Method All

stack.go:291–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289}
290
291func (stack *Stack) All() []*Card {
292 return append(append(stack.Head(), stack.Card), stack.Tail()...)
293}
294
295func (stack *Stack) Contains(card *Card) bool {
296 for _, c := range stack.All() {

Callers 4

AnyMethod · 0.95
ForEachMethod · 0.95
ContainsMethod · 0.95
PostDrawMethod · 0.80

Calls 2

HeadMethod · 0.95
TailMethod · 0.95

Tested by

no test coverage detected