public static function IsNativeType( $value ) : bool
   {

      return (
            \is_bool(   $value ) ||
            \is_int(    $value ) ||
            \is_string( $value ) ||
            \is_double( $value ) ||
            \is_float(  $value ) ||
            \is_array(  $value )
      );

   }
public static function IsNativeType( $value ) : bool
   {

      return (
            \is_bool(   $value ) ||
            \is_int(    $value ) ||
            \is_string( $value ) ||
            \is_double( $value ) ||
            \is_float(  $value ) ||
            \is_array(  $value )
      );

   }
public static function IsNativeType ( $ value ) : bool { return ( \ is_bool ( $ value ) || \ is_int ( $ value ) || \ is_string ( $ value ) || \ is_double ( $ value ) || \ is_float ( $ value ) || \ is_array ( $ value ) ) ; }
Returns if the type of defined value is a native PHP type.

Native types are: boolean, integer, double, float, string, array

@param  mixed $value THe value to check.
@return boolean
Returns if the type of defined value is a native PHP type .