package check

func IsAllNum(checkStr string) bool {
	for _, item := range checkStr {
		if item >= []rune("0")[0] && item <= []rune("9")[0] {
			continue
		}

		return false
	}

	return true
}

func IsContainNum(checkStr string) bool {
	for _, item := range checkStr {
		if item >= []rune("0")[0] && item <= []rune("9")[0] {
			return true
		}
	}

	return false
}
