Class

public struct Class: Fn

The class function returns a valid ref for the given class name

Reference

  • Declaration

    Swift

    public init(_ name: String, scope: Expr? = nil)

    Parameters

    name

    The class name.

    scope

    The scope database.