Get Fucntion Name of Current Analytic

DESCRIPTION:

Returns the function name for the currently-running analytic.

USAGE:

spserver.analytic.function()

VALUE:

The function name of the currently-running analytic, which is the same as the last directory element of the analytic name. Returns an empty string if there is no currently-running analytic.

EXAMPLES:

# spserver.analytic.function()