Returns true if the key exists in the Channel's state.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean channel.state.exists(string key)
boolean channel.state.exists(string channelCode, string key)

Parameters

Name Data Type Description
key String The key.
channelCode String The channel.

Return Value

Data Type Description
Boolean Boolean

Expand image Example

SXML