I am trying to determine if the top layer is a pixel based layer ( Not any adjustment or text) type of layer.
I am using the following which seems to log the LayerKind as a number. Is there anyway of finding out what these numbers refer to.
const app = require("photoshop").app;
const currentDocument = app.activeDocument
const layers = currentDocument.activeLayers;
const topLayer = layers[0]
console.log(topLayer.kind)
Thanks