Function

public struct Function: Fn

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

Reference

  • Declaration

    Swift

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

    Parameters

    name

    The function name.

    scope

    The scope database.