# `GSNameParticle indexOfObjectInNames:`

*Instance Method*

Returns the index of name in names

## Declaration

```swift
func indexOfObject(inNames name: GSInfoValue) -> UInt
```

```objc
- (NSUInteger) indexOfObjectInNames:(GSInfoValue *) name;
```

```python
indexOfObjectInNames_(name: GSInfoValue) -> int
```

## Parameters

- `name` — The object

## Return Value

The index of the object

