Skip to content

Commit

Permalink
Adding some new utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepurple13 committed Oct 3, 2023
1 parent cb8577f commit a7ce06c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.programmersbox.uiviews.utils

import kotlin.experimental.ExperimentalTypeInference

@OptIn(ExperimentalTypeInference::class)
inline fun <T> MutableList<T>.addNewList(@BuilderInference builderAction: MutableList<T>.() -> Unit): Boolean =
addAll(buildList(builderAction))

0 comments on commit a7ce06c

Please sign in to comment.