UNPKG

@create-figma-plugin/utilities

Version:

An extensive library of utility functions for common Figma/FigJam plugin/widget operations

10 lines 256 B
export function isLocked(node) { if (node.locked === true) { return true; } if (node.parent === null || node.parent.type === 'PAGE') { return false; } return isLocked(node.parent); } //# sourceMappingURL=is-locked.js.map