so im trying to write a lambda function that retur...
# getting-started
m
so im trying to write a lambda function that returns a bool but the compiler think that it ment to return Unit anyone knows how i can fix it?
Copy code
{
for (t in channels!!)
    if (t.item1 === message.channelReceiver)
        return false
    return true
}