Documentation Language: Swift

Method

canUndo()

Check if undo operation is available.

@MainActor func canUndo() async -> Bool