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

apply

abstract fun apply(functionDefinition: FunctionDefinition, categoryDefinition: CategoryDefinition): Collection<FunctionItem>? (source)

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.