Skip to content

container(for:)

Azoy edited this page May 6, 2021 · 2 revisions

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 Variables
Global Functions
Clone this wiki locally