Skip to content

container(for_)

tevelee edited this page Jul 21, 2026 · 1 revision

container(for:)

Given an Any value, return the container that represents the value.

public func container(for instance: Any) -> AnyExistentialContainer 

Parameters

  • instance: Some instance of Any

Returns

The existential container that said instance represents.

Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally