Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ IsEmptyQueue
Function
IsEmptyQueue
structure/queue/queuearray.go:42–44 ·
view source on GitHub ↗
IsEmptyQueue check our list is empty or not
()
Source
from the content-addressed store, hash-verified
40
41
// IsEmptyQueue check our list is empty or not
42
func
IsEmptyQueue() bool {
43
return
len(ListQueue) == 0
44
}
Callers
1
TestQueue
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.68