Package modulecheck.utils
Types
Link copied to clipboard
https://gist.github.com/SuppieRK/a6fb471cf600271230c8c7e532bdae4b
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A naive auto-indent which just counts brackets.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates the directories if they don't already exist
Link copied to clipboard
Link copied to clipboard
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String) -> String): String
Content copied to clipboard
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String) -> String): String
Content copied to clipboard
inline fun String.replaceDestructured(regex: Regex, crossinline transform: (group1: String, group2: String, group3: String) -> String): String
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> Iterable<T>.sortedWith(vararg selectors: (T) -> Comparable<*>): List<T>
Content copied to clipboard
fun <T> Sequence<T>.sortedWith(vararg selectors: (T) -> Comparable<*>): Sequence<T>
Content copied to clipboard
Returns a list of all elements sorted according to the specified selectors.
Link copied to clipboard
fun <T> Iterable<T>.sortedWithDescending(vararg selectors: (T) -> Comparable<*>): List<T>
Content copied to clipboard
Returns a list of all elements sorted according to the specified selectors.
Link copied to clipboard