boolean conversion to ternary operator in react with typescript

前端 未结 0 520
生来不讨喜
生来不讨喜 2021-01-15 19:29

I am using typescript and react hooks. I have the following function that i would like to convert to a ternary operator.

export const resultBoolean = (value:          


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