WEEK 7 · LESSON 9 · TOPIC 8 OF 10 · Decision Logic

Decision Logic

Lesson progress

0% Complete

SECTION 1 OF 1

In this topic · 1 sections
  1. Overview

Overview

Use pop when the stash should be consumed and removed after restoration.

Use apply when the changes should return but the stash entry should remain.

Use list when multiple stashes exist and you need to identify the intended one.

Use drop when a stash is no longer needed and should be deleted without restoring it.