Is there a cost to inlining a constant Set declaration?

前端 未结 0 664
耶瑟儿~
耶瑟儿~ 2020-12-02 23:37

Say I have the following Kotlin code:

fun isBlue(color: String) = color in setOf("blue", "aqua", "cerulean", "navy", &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题