Back to Developer Roadmap

The unapply method

src/data/roadmaps/scala/content/[email protected]

4.0717 B
Original Source

The unapply method

The unapply method is used to deconstruct instances through pattern matching. It is often used in extractor objects to extract data values compacted in objects. Resources

Visit the following resources to learn more: