contains(_:)
Returns a Boolean value that indicates whether the focus environment contains the specified environment.
Declaration
@MainActor @preconcurrency func contains(_ environment: any UIFocusEnvironment) -> BoolParameters
- environment:
The focus environment to check.
Return Value
true if environment is contained by the current focus environment or false if it is not.