public static function number() : UnionType
    {
        if (!self::$number) {
            self::$number = UnionType::create([self::scalar(IType::INT), self::scalar(IType::FLOAT)]);
        }

        return self::$number;
    }
public static function number() : UnionType
    {
        if (!self::$number) {
            self::$number = UnionType::create([self::scalar(IType::INT), self::scalar(IType::FLOAT)]);
        }

        return self::$number;
    }
public static function number ( ) : UnionType { if ( ! self :: $ number ) { self :: $ number = UnionType :: create ( [ self :: scalar ( IType :: INT ) , self :: scalar ( IType :: FLOAT ) ] ) ; } return self :: $ number ; }
The a union of the 'integer' and 'float' primitive types.

@return UnionType
The a union of the integer and float primitive types .