Is border includes in distance measurements

Hello,

I am a front end dev and have received a Figma layout to integrate. When I measure the distance between two edges is the border includes in the distance or not?

Thanks.