Function isBeaconsSupported

  • Checks if HTML5 Beacons are supported in the current environment. There is a side effect (for testing) when useCached is set to false, it will reset the cached value causing all future calls to use the new re-evaluated value for all future calls.

    Parameters

    • OptionaluseCached: boolean

      [Optional] used for testing to bypass the cached lookup, when true this will cause the cached global to be reset.

    Returns boolean

    True if supported, false otherwise.