MCPcopy Create free account
hub / github.com/efogdev/mpris-timer / IsGdkKeyvalNumber

Function IsGdkKeyvalNumber

internal/core/kbd.go:54–56  ·  view source on GitHub ↗
(keyval uint)

Source from the content-addressed store, hash-verified

52}
53
54func IsGdkKeyvalNumber(keyval uint) bool {
55 return (keyval >= gdk.KEY_0 && keyval <= gdk.KEY_9) || (keyval >= gdk.KEY_KP_0 && keyval <= gdk.KEY_KP_9)
56}

Callers 2

setupTimeEntryFunction · 0.92
NewSidebarFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected