Skip to content

matchesDeviceCodeTail

View as Markdown
function matchesDeviceCodeTail(code, typed): boolean;

Defined in: react/src/hooks.ts:454

Whether typed (case, spaces and dashes ignored) is the last 4 characters of code.

Parameter Type
code string
typed string

boolean