# `GSShape isEqualToShape:`

*Instance Method*

Whether another shape has the same concrete class.

## Declaration

```swift
func isEqual(to other: GSShape) -> Bool
```

```objc
- (BOOL) isEqualToShape:(GSShape *) other;
```

```python
isEqualToShape_(other: GSShape) -> bool
```

## See Also

### Type and Comparison

- [`GSShapeType`](/Core/GlyphsCore/GSShapeType) — The kind of content represented by a shape.
- [`GSShape.shapeType`](/Core/GlyphsCore/GSShape/shapeType) — The kind of content represented by the concrete shape.
- [`GSShape compareString`](/Core/GlyphsCore/GSShape/compareString) — A structural description used to determine layer compatibility.

