filter By Type
fun <R : Any> DataSet<*>.filterByType(type: KType, predicate: (name: Name, meta: Meta) -> Boolean = { _, _ -> true }): DataSource<R>
Select all data matching given type and filters. Does not modify paths
Parameters
predicate
addition filtering condition based on item name and meta. By default, accepts all
inline fun <R : Any> DataSet<*>.filterByType(noinline predicate: (name: Name, meta: Meta) -> Boolean = { _, _ -> true }): DataSet<R>
Select a single datum of the appropriate type