The function checks strings for being of data type INTEGER.
SELECT is_integer('123') AS res; -- Result is true
Result:
SELECT is_integer('123.456') AS res; -- Result is false