# `NSEvent commandKeyPressed()`

*Instance Method*

## Declaration

```swift
func commandKeyPressed() -> Bool
```

