src/bbn/str.php
public static function is_integer(): bool
  {
    $args = \func_get_args();
    foreach ( $args as $a ){
      if ( \is_string($a) || (abs($a) > PHP_INT_MAX) ){
        if ( !preg_match('/^-?(\d+)$/', (string)$a) ){
          return false;
        }
      }
      else if ( !\is_int($a) ){
        return false;
      }
    }
    return true;
  }
public static function is_integer(): bool
  {
    $args = \func_get_args();
    foreach ( $args as $a ){
      if ( \is_string($a) || (abs($a) > PHP_INT_MAX) ){
        if ( !preg_match('/^-?(\d+)$/', (string)$a) ){
          return false;
        }
      }
      else if ( !\is_int($a) ){
        return false;
      }
    }
    return true;
  }
public static function is_integer ( ) : bool { $ args = \ func_get_args ( ) ; foreach ( $ args as $ a ) { if ( \ is_string ( $ a ) || ( abs ( $ a ) > PHP_INT_MAX ) ) { if ( ! preg_match ( '/^-?(\d+)$/' , ( string ) $ a ) ) { return false ; } } else if ( ! \ is_int ( $ a ) ) { return false ; } } return true ; }
Checks if the item is a integer.
Can take as many arguments and will return false if one of them is not an integer or the string of an integer.

```php
\bbn\x::dump(\bbn\str::is_integer(13.2));
// (bool) false
\bbn\x::dump(\bbn\str::is_integer(14));
// (bool) true
\bbn\x::dump(\bbn\str::is_integer('14'));
// (bool) true
```

@param mixed $st The item to be tested.
@return bool
Checks if the item is a integer . Can take as many arguments and will return false if one of them is not an integer or the string of an integer .