util.isPercentage(val)
Return true when val is a string that holds a percentage value, e.g. '10%'.
true
val
'10%'