---
title: "CFStringIsSurrogateHighCharacter(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfstringissurrogatehighcharacter(_:)"
---

# CFStringIsSurrogateHighCharacter(_:)

Returns a Boolean value that indicates whether a given character is a high character in a surrogate pair.

## Declaration

```swift
func CFStringIsSurrogateHighCharacter(_ character: UniChar) -> Bool
```

## Parameters

- `character`: A UTF-16 character.

## Return Value

Return Value true if character is a high character in a surrogate pair, otherwise false.

## See Also

### Managing Surrogates

- [CFStringGetLongCharacterForSurrogatePair(_:_:)](corefoundation/cfstringgetlongcharacterforsurrogatepair(_:_:).md)
- [CFStringGetSurrogatePairForLongCharacter(_:_:)](corefoundation/cfstringgetsurrogatepairforlongcharacter(_:_:).md)
- [CFStringIsSurrogateLowCharacter(_:)](corefoundation/cfstringissurrogatelowcharacter(_:).md)
