---
title: "sel_isEqual(_:_:)"
framework: objectivec
role: symbol
role_heading: Function
path: "objectivec/sel_isequal(_:_:)"
---

# sel_isEqual(_:_:)

Returns a Boolean value that indicates whether two selectors are equal.

## Declaration

```swift
func sel_isEqual(_ lhs: Selector, _ rhs: Selector) -> Bool
```

## Parameters

- `lhs`: The selector to compare with rhs.
- `rhs`: The selector to compare with lhs.

## Return Value

Return Value YES if rhs and rhs are equal, otherwise NO.

## Discussion

Discussion sel_isEqual is equivalent to ==.

## See Also

### Working with Selectors

- [sel_getName(_:)](objectivec/sel_getname(_:).md)
- [sel_registerName(_:)](objectivec/sel_registername(_:).md)
- [sel_getUid(_:)](objectivec/sel_getuid(_:).md)
