typed.go
func (t Typed) IntsOr(key string, d []int) []int {
	n, ok := t.IntsIf(key)
	if ok {
		return n
	}
	return d
}
func (t Typed) IntsOr(key string, d []int) []int {
	n, ok := t.IntsIf(key)
	if ok {
		return n
	}
	return d
}
func ( t Typed ) IntsOr ( key string , d [ ] int ) [ ] int { n , ok := t . IntsIf ( key ) if ok { return n } return d }
// Returns an slice of ints, or the specified slice
// if the key doesn't exist or isn't a valid []int.
// Some conversion is done to handle the fact that JSON ints
// are represented as floats.
Returns an slice of ints or the specified slice if the key doesn t exist or isn t a valid [] int . Some conversion is done to handle the fact that JSON ints are represented as floats .