st_res function

obtain (spatial) resolution of a stars object