# `compareKerning`

*Function*

## Declaration

```swift
func compareKerning(_ obj1: String, _ obj2: String, _ context: UnsafeMutableRawPointer) -> Int
```

```objc
NSInteger compareKerning(NSString *obj1, NSString *obj2, void *context);
```

```python
compareKerning(obj1: str, obj2: str, context) -> int
```

## See Also

### Comparison and Inspection

- [`bothNilOrEqual`](/Core/GlyphsCore/bothNilOrEqual)
- [`getIncludeExcludeGlyphListFilter`](/Core/GlyphsCore/getIncludeExcludeGlyphListFilter)
- [`inspectClassStopAt`](/Core/GlyphsCore/inspectClassStopAt)

