Skip to main content
Validates that the function is called in a browser environment.

Returns

void

Throws

Error if the function is not called in a browser environment.