isOnPreview

open fun isOnPreview(): Boolean

Get preview state.

Return

true if enabled, false if disabled.