# `GSLayer nextKerningExceptionForLayer:direction:`

*Instance Method*

Whether the pair between this layer and a next layer has a kerning exception.

## Declaration

```swift
func nextKerningIsException(to nextLayer: GSLayer, direction: GSWritingDirection) -> Bool
```

```objc
- (BOOL) nextKerningExceptionForLayer:(GSLayer *) nextLayer direction:(GSWritingDirection) direction;
```

```python
nextKerningExceptionForLayer_direction_(nextLayer: GSLayer, direction: GSWritingDirection) -> bool
```

## Parameters

- `nextLayer` — The layer after this layer.

## Discussion

A kerning exception stores a glyph-specific value instead of using the left-side kerning group of this layer’s glyph.

## See Also

### Kerning Exceptions

- [`GSLayer previousKerningExceptionForLayer:direction:`](/Core/GlyphsCore/GSLayer/previousKerningExceptionForLayer:direction:) — Whether the pair between a previous layer and this layer has a kerning exception.
- [`GSLayer setPreviousKerningException:forLayer:direction:`](/Core/GlyphsCore/GSLayer/setPreviousKerningException:forLayer:direction:) — Sets whether the pair between a previous layer and this layer has a kerning exception.
- [`GSLayer setNextKerningException:forLayer:direction:`](/Core/GlyphsCore/GSLayer/setNextKerningException:forLayer:direction:) — Sets whether the pair between this layer and a next layer has a kerning exception.

