$isInteger

Checks if the specified value is an integer or not.

Tip

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
Integer?: $isInteger[$message]
!example number Integer?: false !example 1.8 Integer?: false !example 4 Integer?: true