---
title: "CGAffineTransformIsIdentity(_:)"
framework: coregraphics
role: symbol
role_heading: Function
path: "coregraphics/cgaffinetransformisidentity(_:)"
---

# CGAffineTransformIsIdentity(_:)

Checks whether an affine transform is the identity transform.

## Declaration

```swift
func CGAffineTransformIsIdentity(_ t: CGAffineTransform) -> Bool
```

## Parameters

- `t`: The affine transform to check.

## Return Value

Return Value Returns true if t is the identity transform, false otherwise.

## See Also

### Evaluating Affine Transforms

- [CGAffineTransformEqualToTransform(_:_:)](coregraphics/cgaffinetransformequaltotransform(_:_:).md)
