Returns true if the Current Smartlet is being rendered in the Preview frame of the Smartlet Editor.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean smartlet.ispreview()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Boolean
SXML