refract

Return a Function object that captures all the aspects of Fun, using the value of localSymbol to represent the return and parameter types, and the UDAs.

  1. immutable(Function) refract()
    immutable(Function)
    refract
    (
    alias fun
    string localSymbol
    )
    ()
    if (
    is(typeof(fun) == function)
    )
  2. immutable(Function) refract()
  3. immutable(Function)[] refract()

Parameters

fun

a function

localSymbol

a string mixin that represents fun in the caller's context

Meta