INNER CODE UNIT · Go
isDuration
expr-lang/expr · vm/runtime/helpers/main.go:136
func isDuration(t string) bool {
return t == "time.Duration"
}
const helpers = `// Code generated by vm/runtime/helpers/main.go. DO NOT EDIT.
package runtime
import (
"fmt"
"reflect"
"time"
)
func Equal(a, b interface{}) bool {
switch x := a.(type) {
{{ cases "==" }}
{{ array_equal_cases }}