func String(v *Value, def string) string {
	s, err := v.String()
	if err != nil {
		return def
	}
	return s
}
String return string value.
package paladin
import "time"
func Bool(v *Value, def bool) bool {
	b, err := v.Bool()
	if err != nil {
		return def
	}
	return b
}
func Int(v *Value, def int) int {
	i, err := v.Int()
	if err != nil {
		return def
	}
	return i
}
func Int32(v *Value, def int32) int32 {
	i, err := v.Int32()
	if err != nil {
		return def
	}
	return i
}
func Int64(v *Value, def int64) int64 {
	i, err := v.Int64()
	if err != nil {
		return def
	}
	return i
}
func Float32(v *Value, def float32) float32 {
	f, err := v.Float32()
	if err != nil {
		return def
	}
	return f
}
func Float64(v *Value, def float64) float64 {
	f, err := v.Float64()
	if err != nil {
		return def
	}
	return f
}