how to check if a callback function contains (dp) => {dp.pin = pin;} and then execute statements based on a condition in JavaScript?

前端 未结 0 1475
轮回少年
轮回少年 2021-02-04 01:49

I have a setValue function which takes 2nd parameter as a callback function. I want to check if the callback function contains (dp) => {dp.pin = pin;} and th

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