QTP Math functions - Check Set Type

Categories: MathSource code

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

  • Leave a Reply

    * Required
    ** Your Email is never shared

Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by the author is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.