Is fontsize units in PX by default?

I am working on a plugin and i see that figma api and endpoint REST api would return NO units for fontsize. Can we safely assume it is always in PX ?
Please comment.