How can i get headers from the API response in the function?

If we store the api response in an object variable and use function node then is there a way to get headers from the response in that function?