---
title: "NSEqualSizes(_:_:)"
framework: foundation
role: symbol
role_heading: Function
path: "foundation/nsequalsizes(_:_:)"
---

# NSEqualSizes(_:_:)

Returns a Boolean that indicates whether two size values are equal.

## Declaration

```swift
func NSEqualSizes(_ aSize: NSSize, _ bSize: NSSize) -> Bool
```

## Return Value

Return Value true if aSize and bSize are identical, otherwise false.

## See Also

### Managing Sizes

- [NSMakeSize(_:_:)](foundation/nsmakesize(_:_:).md)
- [NSSizeFromString(_:)](foundation/nssizefromstring(_:).md)
- [NSStringFromSize(_:)](foundation/nsstringfromsize(_:).md)
- [NSSizeFromCGSize(_:)](foundation/nssizefromcgsize(_:).md)
- [NSSizeToCGSize(_:)](foundation/nssizetocgsize(_:).md)
