Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ IsZero
Method
IsZero
codersdk/time.go:57–59 ·
view source on GitHub ↗
IsZero return true if the time is null or zero.
()
Source
from the content-addressed store, hash-verified
55
56
// IsZero return true if the time is null or zero.
57
func
(t NullTime) IsZero() bool {
58
return
!t.Valid || t.Time.IsZero()
59
}
Callers
15
TestNullTime_IsZero
Function · 0.95
isChatUsageLimitExceededResponse
Function · 0.45
GetChatCostSummary
Method · 0.45
GetChatCostUsers
Method · 0.45
asRequestOption
Method · 0.45
asRequestOption
Method · 0.45
AddFeature
Method · 0.45
Empty
Method · 0.45
Empty
Method · 0.45
CanSign
Method · 0.45
CanVerify
Method · 0.45
TestScheduleOverride
Function · 0.45
Calls
no outgoing calls
Tested by
4
TestNullTime_IsZero
Function · 0.76
TestScheduleOverride
Function · 0.36
Test_addToBatch
Function · 0.36
TestTemplateUpdatePrebuilds
Function · 0.36