I've got a function service the using data from loader and transform it in the right way for me and then return new data I have a suggestion to use '?' before returning data in transformation that can make some sense if there will not be data from loader:
export default async function serviceInputSearch(url) {
const data = await new DataLoader(url).get();
return data?.data.results;
}
I cannot find any information in google about this '?' in return statement? What does it mean?