MCPcopy Index your code
hub / github.com/JavaScriptRegenerated/yieldparser / canPrimaryHover

Method canPrimaryHover

src/media-query.test.ts:226–233  ·  view source on GitHub ↗
(context: MatchMediaContext)

Source from the content-addressed store, hash-verified

224 ) {}
225
226 private canPrimaryHover(context: MatchMediaContext) {
227 switch (context.primaryPointingDevice) {
228 case 'mouse':
229 return true;
230 default:
231 return false;
232 }
233 }
234
235 private canAnyHover(context: MatchMediaContext) {
236 switch (context.secondaryPointingDevice) {

Callers 2

canAnyHoverMethod · 0.95
matchesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected