isInt function.(Power Automate Cloud flows)

Japanese version.

Checks if the text is in Integer format.

In the official help it belongs to the String function, but in the PowerAutomate screen it belongs to the Logical function.

Spec

isInt('<string>')
ArgumentDefaultDescription
stringRequired fieldTarget text.

How to use

In actions it is often used in "Condition".

It is also used to initialize or set variables of type Boolean.

Clicking on isInt in the "Expression" tab sets the function name and () in the formula field.

When dynamic content or variables are used as arguments, special settings are made.

(How to get dynamic content with expressions.)

If you see something like the following, your settings are complete.

You can change the contents of the function by clicking on the purple icon.

For example, isInt('10.5') will result in false because of decimals.

As far as I have verified, the result is as follows.

If non-numeric characters are included, the result is false, and the comma delimiter is determined not to be an integer.

ExpressionResultRemarks
isInt('10.0')falseFalse if there is a decimal point (other than a number).
isInt('10')true
isInt('100,000')falseFalse if a digit delimiter (other than a number) is included.

---

Links

String Functions