$isInteger

Checks if the specified value is an integer or not.

Note

true means the value is an integer, false means it isn’t.

Syntax

$isInteger[Value]

Parameters

  • Value (Type: String || Flag: Required): The string that will be checked.

Example

$nomention Is integer? $isInteger[$message]
!example number Is integer? false !example 1.8 Is integer? false !example 4 Is integer? true

What is this?

How $message works?

🤖 Playground

Here you can understand how this function works.

Input:

$isInteger[]

Output:

Is integer? true