Nodejs find and return specific element in array

i just want tor return d['detail'] but its not work, Please advice me how i can return specific element. Thanks

  const layout = {
        key: null,
        info: {
            abc: false,
            xyx: false,
            hasPublishedRates: false
        },
        detail: {
            abc: false,
            xyx: false,
            111: false

        }
    };



         return dspConfig.find(() => {
                if(d.key === "abc"  )   {
                   d['detail']
                }
           });