Instance MethodFoundationEssentials
filter(inheritedByAddedText:)
iOS 26.0+
iPadOS 26.0+
Mac Catalyst 26.0+
macOS 26.0+
tvOS 26.0+
visionOS 26.0+
watchOS 26.0+
Returns a copy of the attribute container with only attributes that specify the provided inheritance behavior.
func filter(inheritedByAddedText: Bool) -> AttributeContainer
Parameters
inheritedByAddedTextAn
inheritedByAddedTextvalue to filter. Attributes matching this value are included in the returned container.
Return Value
A copy of the attribute container with only attributes whose inheritedByAddedText property matches the provided value.