gh-pages / com.nextfaze.devfun.function / SingleFunctionTransformer / apply

apply

fun apply(functionDefinition: FunctionDefinition, categoryDefinition: CategoryDefinition): Set<SimpleFunctionItem> (source)

Overrides FunctionTransformer.apply

Transforms a FunctionDefinition to one or more FunctionItem.

Return null to ignore the item and allow another transformer to process it.

Returning anything but null will remove the item from other transformers.