INNER CODE UNIT · Go

isFloat

expr-lang/expr · vm/runtime/helpers/main.go:132

func isFloat(t string) bool {
	return strings.HasPrefix(t, "float")
}

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"
)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…