func isStrCheck()

in isdef/string.go [13:25]


func isStrCheck(path llpath.Path, v interface{}) (str string, errorResults *llresult.Results) {
	strV, ok := v.(string)

	if !ok {
		return "", llresult.SimpleResult(
			path,
			false,
			fmt.Sprintf("Unable to convert '%v' to string", v),
		)
	}

	return strV, nil
}