# `GSPathSegment isEqualToSegment:`

*Instance Method*

## Declaration

```swift
func isEqual(to otherSegment: GSPathSegment) -> Bool
```

```objc
- (BOOL) isEqualToSegment:(GSPathSegment *) otherSegment;
```

```python
isEqualToSegment_(otherSegment: GSPathSegment) -> bool
```

