| isInteger {consensusSeekeR} | R Documentation |
Validate if the value passed to the function is an integer or
not. To be considered as an integer, the value must have a length
of 1. The type of value can be a integer or numerical.
However, a numerical must have the same value
once casted to a integer. A vector of
integers will returned FALSE.
isInteger(value)
value |
an object to validate. |
TRUE is the parameter is a integer; otherwise FALSE
Astrid Deschenes