Collections

Learn how to create various collection types using top-level functions and transform one collection into another.

Introduction

Most languages have support for a feature called a collection literal, which is a special syntax for creating a certain collection type based on the provided list of elements.

Get hands-on with 1400+ tech skills courses.