MCPcopy Create free account
hub / github.com/expr-lang/expr / IsZero

Method IsZero

test/playground/env.go:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (p Post) IsZero() bool {
70 return p.ID == 0 && p.Title == "" && p.Content == "" && p.PublishDate.IsZero()
71}
72
73type Comment struct {
74 ID int

Callers 2

PublishedMethod · 0.45
IsZeroMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected