currentPage()

Returns the current page.

Params

none

Returns

Obj, undefined, null

Possible return values:

  • undefined – The current page has not been set or loaded yet.
  • null – The current page does not represent a Scrivito page.
  • Obj – The current page.