MCPcopy Index your code
hub / github.com/expr-lang/expr / Sub

Method Sub

test/playground/env.go:139–141  ·  view source on GitHub ↗
(a, b float64)

Source from the content-addressed store, hash-verified

137}
138
139func (Blog) Sub(a, b float64) float64 {
140 return a - b
141}
142
143func (Blog) Title(post Post) string {
144 return post.Title

Callers 3

ExampleOperatorFunction · 0.80
WithinDurationFunction · 0.80
SubtractFunction · 0.80

Calls

no outgoing calls

Tested by 1

ExampleOperatorFunction · 0.64