Checks if the ColumnOrRow exists
Check if a ColumnOrRow exists
if (!fin.me.isView) {
throw new Error('Not running in a platform View.');
}
const stack = await fin.me.getCurrentStack();
// Retrieves the parent ColumnOrRow
const columnOrRow = await stack.getParent();
const exists = await columnOrRow.exists();
// The ColumnOrRow exists: true
console.log(`The ColumnOrRow exists: ${exists}`);