KeyPressResult

A result value returned from a key-press action that indicates whether the action consumed the event.

EnumerationiOS 17.0+macOS 14.0+tvOS 17.0+KeyPress.Result in SwiftUI