UNPKG

@terminus/ngx-tools

Version:

[![CircleCI][circle-badge]][circle-link] [![codecov][codecov-badge]][codecov-project] [![semantic-release][semantic-release-badge]][semantic-release] [![MIT License][license-image]][license-url] <br> [![NPM version][npm-version-image]][npm-url] [![Github

12 lines (11 loc) 321 B
/** * Coerce the type to KeyboardEvent * * @param x - The item to test * @returns True if the value is a KeyboardEvent * * @example * isKeyboardEvent(myKeyboardEvent); // Returns: true * isKeyboardEvent(myClickEvent); // Returns: false */ export declare const isKeyboardEvent: (x: any) => x is KeyboardEvent;