func (t Typed) IntsIf(key string) ([]int, bool) {
	value, exists := t[key]
	if exists == false {
		return nil, false
	}
	if n, ok := value.([]int); ok {
		return n, true
	}
	if a, ok := value.([]interface{}); ok {
		l := len(a)
		if l == 0 {
			return nil, false
		}

		n := make([]int, l)
		for i := 0; i < l; i++ {
			switch t := a[i].(type) {
			case int:
				n[i] = t
			case float64:
				n[i] = int(t)
			case string:
				_i, err := strconv.Atoi(t)
				if err != nil {
					return n, false
				}
				n[i] = _i
			default:
				return n, false
			}
		}
		return n, true
	}
	return nil, false
}
func (t Typed) IntsIf(key string) ([]int, bool) {
	value, exists := t[key]
	if exists == false {
		return nil, false
	}
	if n, ok := value.([]int); ok {
		return n, true
	}
	if a, ok := value.([]interface{}); ok {
		l := len(a)
		if l == 0 {
			return nil, false
		}

		n := make([]int, l)
		for i := 0; i < l; i++ {
			switch t := a[i].(type) {
			case int:
				n[i] = t
			case float64:
				n[i] = int(t)
			case string:
				_i, err := strconv.Atoi(t)
				if err != nil {
					return n, false
				}
				n[i] = _i
			default:
				return n, false
			}
		}
		return n, true
	}
	return nil, false
}
func ( t Typed ) IntsIf ( key string ) ( [ ] int , bool ) { value , exists := t [ key ] if exists == false { return nil , false } if n , ok := value . ( [ ] int ) ; ok { return n , true } if a , ok := value . ( [ ] interface { } ) ; ok { l := len ( a ) if l == 0 { return nil , false } n := make ( [ ] int , l ) for i := 0 ; i < l ; i ++ { switch t := a [ i ] . ( type ) { case int : n [ i ] = t case float64 : n [ i ] = int ( t ) case string : _i , err := strconv . Atoi ( t ) if err != nil { return n , false } n [ i ] = _i default : return n , false } } return n , true } return nil , false }
// Returns a int slice + true if valid
// Returns nil + false otherwise
// (returns nil+false if one of the values is not a valid int)
Returns a int slice + true if valid Returns nil + false otherwise ( returns nil + false if one of the values is not a valid int )