filteredBy

fun ImmutableList<TileSchema>.filteredBy(term: String?): ImmutableList<TileSchema>

Filters the children a container tile should render according to its filterChildrenByTerm.

When term is null or blank every child is kept. Otherwise only children whose searchableTerms contain term as a case-insensitive substring survive — children without searchable terms are dropped.