Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How to modify a property value in an array of objects in react native typescript [duplicate]

$
0
0

I have this array of objects and I want to modify the isPinned property to true. How can I do that?

Array [  Object {"isPinned": "false","iso2": "AU","iso3": "AUS","name": "Australia",  },]

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>