MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / isShortcutValue

Function isShortcutValue

web/pgadmin/static/js/utils.js:48–51  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

46}
47
48export function isShortcutValue(obj) {
49 if(!obj) return false;
50 return [obj.alt, obj.control, obj?.key, obj?.key?.char].every((k)=>!_.isUndefined(k));
51}
52
53export function getEnterKeyHandler(clickHandler) {
54 return (e)=>{

Callers 2

DebuggerEditorFunction · 0.90
QueryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected