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

assertLightMode

Assert that the device is currently in light mode.

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

Syntax

This command takes no arguments.

- assertLightMode

Last updated