Variable ENDConst

END: typeof END = ...

Symbol which will terminate event handling if returned by any of the functions in the ops chain of an event handler created with eventHandler.

Example

import { END } from 'deleight/eutility';
const keyEventBreaker = (e: KeyboardEvent) => (e.key !== key)? END: '';