---
title: "isEqualTo(const char *)"
framework: kernel
role: pseudoSymbol
path: kernel/ossymbol/1808093-isequalto
---

# isEqualTo(const char *)

Tests the equality of an OSSymbol object with a C string.

## Declaration

```occ
virtual bool isEqualTo(
 const char *cString) const; 
```

## Parameters

- `cString`: The C string to compare against the receiver.

## Return Value

Return Value true if the OSSymbol's characters are equivalent to the C string's, false otherwise.

## See Also

### Miscellaneous

- [free](kernel/ossymbol/1808021-free.md)
- [initWithCString](kernel/ossymbol/1808026-initwithcstring.md)
- [initWithCStringNoCopy](kernel/ossymbol/1808036-initwithcstringnocopy.md)
- [initWithString](kernel/ossymbol/1808054-initwithstring.md)
- [isEqualTo](kernel/ossymbol/1808078-isequalto.md)
- [isEqualTo(const OSSymbol *)](kernel/ossymbol/1808114-isequalto.md)
- [taggedRelease(const void *)](kernel/ossymbol/1808137-taggedrelease.md)
- [taggedRelease(const void *, const int)](kernel/ossymbol/1808154-taggedrelease.md)
- [withCString](kernel/ossymbol/1808171-withcstring.md)
- [withCStringNoCopy](kernel/ossymbol/1808179-withcstringnocopy.md)
- [withString](kernel/ossymbol/1808192-withstring.md)
