---
title: "==(_:_:)"
framework: diskimagekit
role: symbol
role_heading: Operator
path: "diskimagekit/diskimage/layertype-swift.struct/==(_:_:)"
---

# ==(_:_:)

Equatable implementation.

## Declaration

```swift
static func == (lhs: DiskImage.LayerType, rhs: DiskImage.LayerType) -> Bool
```

## Discussion

Discussion Two LayerType values are equal if they represent the same layer type. For overlay layers, the blockCount parameter is ignored in the comparison.
