Method
eIsSet(_:)
Checks whether a feature has been explicitly set.
func eIsSet(_ feature: some EStructuralFeature) -> Bool
Parameters
feature-
The structural feature to check.
Return Value
true if the feature has been set, false otherwise.
Discussion
A feature is considered “set” if it has been assigned a value, even if that value equals the feature’s default. This differs from checking if the value is nil, as unset features may have non-nil defaults.