this is my json data
userpayment":[{"_id":"63297d5d1ae7697c5130fc8a","user_id":"632525106df51baf8b582803","coursepack":[{"third":"63291808acb84985480536b4"}]}]
here "63291808acb84985480536b4" how to some from this json
my code below
userpayment.some(
items => items.coursepack.some(
its => its.third === "63291808acb84985480536b4"
)
) ? true : false
