QTP Math functions – Check Set Type
Parent page: Service Functions – Math (QTP, VBScript)
Check whether a set consists of numeric values
Public Function isSetNumeric(ByVal stSet, ByVal sSetSeparator) Dim dvArray dvArray = Set2Array(stSet, sSetSeparator) isSetNumeric = isArrayNumeric(dvArray) End Function
Check whether a set consists of date/time values
Public Function isSetDate(ByVal stSet, ByVal sSetSeparator) Dim dvArray dvArray = Set2Array(stSet, sSetSeparator) isSetDate = isArrayDate(dvArray) End Function