Exposing hasClippingMask and closestClippingLayer in JS API
Seeing hasClippingMask and closestClippingLayer properties in JS API would be awesome.
I'm developing the Sketch SDK of Pixelworm(https://www.pixelworm.io) and I have to crop the frame of layers which are masked. I personally don't like using private APIs.

Also an API to set layer mask would be great too but this is not my requirement right now.