const useHasCapture: <C>( capture: LiveCapture<C>, ) => boolean
Detect context on a fiber without depending on it
packages / live / src / hooks.ts