// const carpark = data?.result?.field_prop_car_parking ?? ''; // if the above is not working, try the following one, due to path structure const carpark = data?.result?.field_prop_car_parking?.und?.[0]?.value ?? '';