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

Method Published

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

Source from the content-addressed store, hash-verified

42}
43
44func (p Post) Published() bool {
45 return !p.PublishDate.IsZero()
46}
47
48func (p Post) After(date time.Time) bool {
49 return p.PublishDate.After(date)

Callers 1

RecentPostsMethod · 0.80

Calls 1

IsZeroMethod · 0.45

Tested by

no test coverage detected