filter

abstract fun filter(predicate: LibraryDependency.() -> Boolean)

If the predicate is true, the corresponding dependency will be mapped, otherwise it will not be mapped.