Skip to content

isMouseEvent

It returns true when the underlying native event is a {@link MouseEvent}, false otherwise.

Types

IIsMouseEvent

Parameters accepted by isMouseEvent.

InputInput DescriptionReturnReturn Description
(event: SyntheticEvent)event - The React {@link SyntheticEvent} to inspect.booleantrue when the underlying native event is a {@link MouseEvent}, false otherwise.

Released under the MIT License.