# cock.getEmptyOption

Finds next (in arbitrary order) unused input option in current layout.

## Synopsis

### Function

    option = cock.getEmptyOption ( self, map )

### Arguments

`table self`
  An object to use.
`string map`
  A control mapping to find unused options for.

### Returns

`string option`
  Found unused option (nil on failure).

## See also

- cock.addOption
- cock.deleteOption
- cock.setDefault
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit

Category:

- Functions