isPrivate()

Checks whether the binary should not be publicly accessible.

Copy
binary = Scrivito.getClass("Image").all().first().get("blob");
console.log(binary.isPrivate());

Some Scrivito data is considered private, i.e. it is not currently intended for the general public, for example content in a working copy that has not yet been published.

Returns

Boolean