Function: useIsSupported()
useIsSupported():
boolean
Defined in: src/infrastructure/observer/observer.service.ts:50
Checks whether IntersectionObserver is available in the current environment.
Returns
boolean
true if IntersectionObserver is supported.
Example
if (useIsSupported()) {
// safe to use observer APIs
}