test passed in Chrome but went into error when used in PhotoShop.
[Exception: Error: Invalid 'this' object used in toMethod at i.get type [as type] (uxp://uxp-internal/platformjs_scripts.js:1:5750)
test passed in Chrome but went into error when used in PhotoShop.
[Exception: Error: Invalid 'this' object used in toMethod at i.get type [as type] (uxp://uxp-internal/platformjs_scripts.js:1:5750)