For the complete documentation index, see llms.txt. This page is also available as Markdown.

assertDarkMode

Assert that the device is currently in dark mode.

Asserts that the device's system-wide dark mode (appearance) is currently enabled. Fails the flow if the device is in light mode.

Syntax

This command takes no arguments.

- assertDarkMode

Last updated