You are here

hasSite

hasSite(String shortName) returns true if the specified site exists. Allows private site existence to be tested.

Returns

Returns a boolean. Returns true if specified site exists, false otherwise.

Example

  var result = siteService.hasSite();