• Fortnite Documentation
    • What's New in Unreal Editor for Fortnite
    • Discover the Resources Waiting for You as a Fortnite Creator!
    • Get Started Creating in Fortnite
    • Island Settings
    • Editor User Interface
    • Creative User Interface
    • Import Content and Islands
    • Building Basics
    • Editor Best Practices
    • Programming with Verse
    • UEFN Starter Templates
    • Game Collections
    • Template Islands
    • Build a Game
    • Learn Game Mechanics
    • Device Design Examples
    • Scene Graph
    • AI and NPCs
    • Animation and Cinematics
    • Using Devices
    • Using Items
    • Fortnite Weapons Primer
    • In-Game User Interfaces
    • Physics
    • Environments and Landscapes
    • Memory and Optimization
    • Realistic Assets, Characters, and Environments
    • Using Prefabs and Galleries
    • Audio
    • Composing with Fortnite Patchwork
    • Lighting
    • Materials
    • Modeling
    • Intro to Post-processing
    • Visual Effects
    • Using Creator Portal
    • Island Moderation and Guidelines
    • Promoting Your Fortnite Island
    • Collaborate and Publish
    • Education
    • Verse Language Reference
      • Verse Language Version 1 Updates and Deprecations
      • Expressions
      • Comments
      • Constants and Variables
      • Common Types
      • Operators
      • Grouping
      • Code Blocks
      • Functions
      • Failure
      • Specifiers and Attributes
      • Control Flow
      • Time Flow and Concurrency
      • Container Types
        • Option
        • Range
        • Array
        • Map
        • Tuple
      • Composite Types
      • Working with Verse Types
      • Modules and Paths
    • Video Tutorials
    • Fortnite Creative Glossary
    • Glossary for Unreal Editor for Fortnite
    • Verse Glossary
    • Verse API Reference
  1. Epic GamesDeveloper
  2. Container Types

Container Types

Store multiple values together by using a container type.

Container Types

Store multiple values together by using a container type. Verse has a number of container types to store values in.

Option

Option

The option type can contain one value or can be empty.

Range

Range

The range expression contains all the numbers in a specified range, and can only be used in specific expressions.

Array

Array

An array is a container where you can store elements of the same type, and access the elements by their position in the array.

Map

Map

A map is a container where you can store values associated with other values, called key-value pairs, and access the elements by their unique keys.

Tuple

Tuple

A tuple is a container where you can group two or more expressions of mixed types and access the elements in the tuple by their position.

  • verse
  • language

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library