Figma plugin check current file size

Is it any figma function to get the file size at a given moment in time?

This question comes related to the fact that I would like to check, by plugin code, the size of the current figma file before and after detaching some components.

4 Likes