minTabCount

fun minTabCount(text: String): Int

Count the number of tabs that prefix each line (after a \n character) in each line in the provided text and answer the lowest tab count amongst the lines.

Return

The lowest number of tabs for any line.

Parameters

text

The text to count tabs from.