Ref

public struct Ref: Fn

Ref creates a new RefV value with the ID provided.

Reference.

  • Declaration

    Swift

    public init(_ id: String)

    Parameters

    id

    Id for resource reference.

  • Declaration

    Swift

    public init(class: Expr, id: Expr)

    Parameters

    class

    The class reference for the resource

    id

    The id for the resource reference