Skip to content

Type Property

byActionName

All built-in rules, keyed by action name.

static let byActionName: [String : [ActionValidationRule]]

Discussion

The Apple-only actions above are declared inside #if os(macOS), so their rules can only be referenced there. On Linux those action names simply carry no semantic rules, which matches the fact that the actions themselves are unavailable.