Skip to content

TFunctionItem.Create

Creates function item with specified callback

Declaration

Source position: fpmkunit.pp line 1603

public 
constructor TFunctionItem.Create(AFunc: TReplaceFunction);

Description

Create initializes a new TFunctionItem instance with the specified function callback. This constructor stores the provided function reference for later invocation during template evaluation.