func src.elv.sh/pkg/eval/vals.Kind

34 uses

	src.elv.sh/pkg/eval/vals (current package)
		concat.go#L59: 	return nil, cannotConcat{Kind(lhs), Kind(rhs)}
		conversion.go#L97: 			return wrongType{Kind(reflect.Zero(dstType).Interface()), Kind(src)}
		iterate.go#L47: 		return cannotIterate{Kind(v)}
		iterate_keys.go#L41: 		return cannotIterateKeysOf{Kind(v)}
		kind.go#L22: func Kind(v interface{}) string {
		testutils.go#L24: 	kind := Kind(vt.v)

	src.elv.sh/pkg/eval
		builtin_fn_container.go#L73: 				Valid: "string", Actual: vals.Kind(k)}
		builtin_fn_container.go#L114: 				What: "input to make-map", Valid: "iterable", Actual: vals.Kind(v)}
		builtin_fn_container.go#L120: 				Actual: fmt.Sprintf("%v with %v elements", vals.Kind(v), l)}
		builtin_fn_container.go#L653: 				return 0, fmt.Errorf("cannot get length of a %s", vals.Kind(v))
		builtin_fn_container.go#L818: 				Valid: "boolean", Actual: vals.Kind(outputs[0])}
		builtin_fn_misc.go#L90: 		out <- vals.Kind(a)
		builtin_fn_styled.go#L149: 		return nil, fmt.Errorf("expected string, styled segment or styled text; got %s", vals.Kind(input))
		builtin_fn_styled.go#L172: 					return nil, fmt.Errorf("styling function must return a segment; got %s", vals.Kind(vs[0]))
		builtin_fn_styled.go#L179: 			return nil, fmt.Errorf("need string or callable; got %s", vals.Kind(styling))
		compile_effect.go#L357: 			What: "option key", Valid: "string", Actual: vals.Kind(k)})
		compile_effect.go#L387: 		Actual: vals.Kind(value)})
		compile_effect.go#L547: 			Valid: "string, file or pipe", Actual: vals.Kind(src)})
		compile_value.go#L192: 		return nil, fmt.Errorf("tilde doesn't work on value of type %s", vals.Kind(v))
		go_fn.go#L224: 				return fmt.Errorf("%s cannot be iterated", vals.Kind(iterable))

	src.elv.sh/pkg/eval/mods/re
		re.go#L92: 				vals.Kind(argRepl))
		re.go#L120: 					vals.Kind(values[0]))
		re.go#L129: 			vals.Kind(argRepl))

	src.elv.sh/pkg/eval/mods/str
		str.go#L286: 				What: "input to str:join", Valid: "string", Actual: vals.Kind(v)}

	src.elv.sh/pkg/edit
		complete_getopt.go#L199: 			err = fmt.Errorf("arg should be string, got %s", vals.Kind(v))
		complete_getopt.go#L227: 			err = fmt.Errorf("opt should be map, got %s", vals.Kind(v))
		complete_getopt.go#L242: 				fmt.Errorf("%s should be string, got %s", k, vals.Kind(v))
		complete_getopt.go#L253: 				fmt.Errorf("%s should be fn, got %s", k, vals.Kind(v))
		complete_getopt.go#L264: 				fmt.Errorf("%s should be bool, got %s", k, vals.Kind(v))
		complete_getopt.go#L360: 				"argument handler should be fn, got %s", vals.Kind(v))
		prompt.go#L140: 			nt.notifyf("invalid output type from prompt: %s", vals.Kind(v))
		vars.go#L69: 				Valid: "string", Actual: vals.Kind(k)}