Can you share the filter’s signature, please? Are you seen the Kotlin’s reference documentation?
filter