if the internal type is int the function returns true, in otherwis returns false.
Gets int value.
getValue Method