Skip to content

GetAllCustomData()

ts
GetAllCustomData(): string[];

Retrieves all custom data previously stored via the AddCustomData function. The returned value is an array of strings.

Example

ts
{
  if (Session) {
    var cd = Session.GetAllCustomData();
    for (let i = 0; i < cd.length; i++) {
      Log(cd[i]);
    }
  } else {
    Log('Session object is not available.');
  }
}