bool ion\Symbol::equals(ion\Symbol $symbol)
Compare two symbols for equality.
Two symbols are considered equal, if either:
- both are the same object or NULL
- both values are NULL (unknown text), and both $importLocations match
- both values match, regardless of $sid and $importLocation
Params:#
Returns:#
- bool, whether the two Symbols equal