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

Method TimeEqualString

test/mock/mock.go:108–110  ·  view source on GitHub ↗
(a time.Time, s string)

Source from the content-addressed store, hash-verified

106}
107
108func (p Env) TimeEqualString(a time.Time, s string) bool {
109 return a.Format("2006-01-02") == s
110}
111
112func (p Env) GetInt() int {
113 return p.Int

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected