How do I return a value from this function if I am determining the return value with a for loop?

前端 未结 0 940
囚心锁ツ
囚心锁ツ 2021-02-19 11:03

I want to make a typescript function that I can reuse in my cloud functions. The function below should return a 1 if the username is not taken or a 0 if it is taken. However, th

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