---
title: argumentNames
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptcommanddescription/argumentnames
---

# argumentNames

Returns the names (or keys) for all arguments of the receiver’s command.

## Declaration

```swift
var argumentNames: [String] { get }
```

## Return Value

Return Value The array of argument names. If there are no arguments for the command, returns an empty array.

## See Also

### Getting Command Argument Information

- [appleEventCodeForArgument(withName:)](foundation/nsscriptcommanddescription/appleeventcodeforargument(withname:).md)
- [isOptionalArgument(withName:)](foundation/nsscriptcommanddescription/isoptionalargument(withname:).md)
- [typeForArgument(withName:)](foundation/nsscriptcommanddescription/typeforargument(withname:).md)
