Instance Method

isOptionalArgumentWithName:

Returns a Boolean value that indicates whether the command argument identified by the specified argument key is an optional argument.

Declaration

- (BOOL)isOptionalArgumentWithName:(NSString *)argumentName;

Parameters

argumentName

Argument name (used as a key) that identifies the command argument to examine.

Return Value

YES if the specified argument exists and is optional; otherwise, NO.

See Also

Getting Command Argument Information

- appleEventCodeForArgumentWithName:

Returns the Apple event code for the specified command argument of the receiver.

argumentNames

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

- typeForArgumentWithName:

Returns the type of the command argument identified by the specified key.