DiviArea.Data.getRealId()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.Data.getRealId()
DiviArea.Data.getRealId(id)

Returns a sanitized area ID or false, when the ID does not belong to an Area.

Params

id
(string, required) The Area ID or an alternate ID.

Returns

A string containing the Area ID (with # prefix), or an empty string.

Notes

No notes

Was this article helpful?

Related Articles