Keymap On Codemirror 6

Is there any way to have a function called onpress of “Tab Key” in Codemirror 6