CreateClass

public struct CreateClass: Fn

CreateClass creates a class object using params. It is a shortcut function that has the same effect as Create(Ref("classes"), params).

Reference.

  • Declaration

    Swift

    public init(_ params: Expr)

    Parameters

    params

    Class configuration.