Validates a parameter as an integer. :param parameterValue: Value to be evaluated. :type Unknown :return Boolean: True indicates the parameter is an integer. :type Boolean
(parameterValue)
| 99 | #Tested 5 |
| 100 | @staticmethod |
| 101 | def funcIsValidInteger(parameterValue): |
| 102 | """ |
| 103 | Validates a parameter as an integer. |
| 104 | |
| 105 | :param parameterValue: Value to be evaluated. |
| 106 | :type Unknown |
| 107 | :return Boolean: True indicates the parameter is an integer. |
| 108 | :type Boolean |
| 109 | """ |
| 110 | |
| 111 | #Check to make sure it is not null |
| 112 | if (parameterValue == None): |
| 113 | return False |
| 114 | |
| 115 | #Check to make sure it is an integer |
| 116 | if not type(parameterValue) is IntType: |
| 117 | return False |
| 118 | |
| 119 | return True |
| 120 | |
| 121 | #Tested 5 |
| 122 | @staticmethod |
no outgoing calls
no test coverage detected