react icon indicating copy to clipboard operation
react copied to clipboard

[Code Refactor] Replace object checks with isObject function

Open c0sc0s opened this issue 1 month ago • 0 comments

I find there were many code place use 'type of xxx === 'object' && xxx !== null' I think should use a util function named isObject to optimize this behavior. I could add this function to shared and replace the before code. should i do that?

Looking forward to your feedback!

c0sc0s avatar May 08 '24 06:05 c0sc0s