MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Empty

Method Empty

utils/stack.go:72–74  ·  view source on GitHub ↗

Empty returns whether the stack is empty.

()

Source from the content-addressed store, hash-verified

70
71// Empty returns whether the stack is empty.
72func (s *Stack[T]) Empty() bool {
73 return len(s.values) == 0
74}

Callers 4

PeekAuthTypeMethod · 0.45
PopAuthTypeMethod · 0.45
OrMethod · 0.45
FinishMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected