I have seen this somewhere but can't remember...
user.address= data.address? data.address : ""
instead of create an empty user.address field, I want to not create the field if the data.address
is false
I'm using typescript.
I have seen this somewhere but can't remember...
user.address= data.address? data.address : ""
instead of create an empty user.address field, I want to not create the field if the data.address
is false
I'm using typescript.