Figma plugin - Property to differentiate between rotated and flipped items

I have a particular element that is horizontally flipped which is giving rotation as 180 deg. I am not able to identify that, whether it is horizontally flipped or is it normally rotated by 180 deg using the properties provided by figma. It is just that the X co-ordinate got changed during horizontal flipping which can not be used in differentiating rotation against flipping. Let me know your inputs on this.

Besides the rotation property, you need to check the transformation matrix (absoluteTransform, relativeTransform).