Hi, i have screenshot with kotlin flow code, there is a call on Flow to mapNotNull(name = "...") {}, or filter(name = "..."){} . can someone explain to me what is this syntax , i can't find any mapNotNull or filter function that accepts a 'name' argument.
j
Joffrey
05/01/2024, 9:33 PM
Maybe it is defined in a library or the project itself?
m
Michael Krussel
05/01/2024, 9:34 PM
My guess is that they are some custom overloads to support some analytics or logging.
s
Shalom
05/01/2024, 9:36 PM
Thanks, that's what a thought too.
c
CLOVIS
05/02/2024, 8:13 AM
Use CTRL Q in IntelliJ to see the function's signature, this will display its package name.
Alternatively, CTRL B to go to its code