Skip to main content

evaluate

Discworld driver help

evaluate

Name

evaluate() - evaluate a function pointer

Synopsis

mixed evaluate( mixed f, ... )

Description

If `f' is a function, `f' is called with the rest of the arguments. Otherwise, `f' is returned. evaluate(f, ...) is the same as (*f)(...).