fromFunction

fun fromFunction(function: DFunction): LineBreakingStrategy

Creates a LineBreakingStrategy based on the function's parameter count.

Return

a coherent LineBreakingStrategy instance

Parameters

function

the function to analyze