hasNumeric
Returns true if the string contains at least one numeric digit.
string(required): string to check
bash
echo '{"code": "ABC123"}' | utlx -e 'hasNumeric($input.code)'
# trueutlx
{
hasDigits: hasNumeric($input.password),
alphaOnly: !hasNumeric($input.name)
}