IsInteger (AnyValue)
Last updated
Last updated
© Copyright 2023, Astera Software
Name
IsInteger (Any Value)
Syntax
IsInteger (Any value)
Purpose
To check whether a given value represents an integer.
Description
Returns true if the specified value is an integer. Otherwise returns false.
Return Type
Boolean
Parameters
Value [System.Object] – Value to be checked
Example
In this example, we will first pass an integer value and then a non-integer value to the function transformation object using a Variables object, to see the different outputs
Where first,
value = 12345678
then,
value = ABCDEFG
In the output windows, you can see that Boolean values, True and False, have been returned, depending on whether the provided value was an integer or a non-integer value.