MCPcopy 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.
57func (t NullTime) IsZero() bool {
58 return !t.Valid || t.Time.IsZero()
59}

Callers 15

TestNullTime_IsZeroFunction · 0.95
GetChatCostSummaryMethod · 0.45
GetChatCostUsersMethod · 0.45
asRequestOptionMethod · 0.45
asRequestOptionMethod · 0.45
AddFeatureMethod · 0.45
EmptyMethod · 0.45
EmptyMethod · 0.45
CanSignMethod · 0.45
CanVerifyMethod · 0.45
TestScheduleOverrideFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestNullTime_IsZeroFunction · 0.76
TestScheduleOverrideFunction · 0.36
Test_addToBatchFunction · 0.36