The actual code is along the lines of this: ``` r...
# getting-started
c
The actual code is along the lines of this:
Copy code
return items.filter {
    (if (nameLike != null) it.name.contains(nameLike) else true) &&
    (if (idLike != null) it.id.contains(idLike) else true) &&
    it.category == category)
  }