Function getLocation

  • Returns the global location object if it is present otherwise null. This helper is used to access the location object without causing an exception "Uncaught ReferenceError: location is not defined"

    Parameters

    • Optional checkForMock: boolean

    Returns Location | null

Generated using TypeDoc