Skip to content

FunctionMetadata_ParamFlags

tevelee edited this page Jul 25, 2026 · 3 revisions

FunctionMetadata.ParamFlags

The flags that represent some function parameter.

public struct ParamFlags 

Properties

bits

Flags as represented in bits.

public let bits: UInt32

valueOwnership

The value ownership kind for this parameter.

public var valueOwnership: ValueOwnership 

ownership

The ownership convention using current Swift terminology.

public var ownership: ParameterOwnership 

This is equivalent to valueOwnership; the older spelling remains for source compatibility with existing Echo clients.

isVariadic

Whether or not this parameter is variadic. E.g. Int...

public var isVariadic: Bool 

isAutoclosure

Whether or not this parameter is marked @autoclosure

public var isAutoclosure: Bool 

isNoDerivative

Whether this parameter is excluded from automatic differentiation.

public var isNoDerivative: Bool 

isIsolated

Whether this parameter is isolated to an actor.

public var isIsolated: Bool 

isSending

Whether ownership is transferred to this parameter using sending.

public var isSending: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally