Create

public struct Create: Fn

Creates an instance of the class referred to by classRef, using params.

Reference.

  • Declaration

    Swift

    public init(at classRef: Expr, _ params: Expr)

    Parameters

    classRef

    Indicates the class where the instance should be created.

    params

    Data to create the instance.