mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-09 01:12:15 +02:00
6 lines
195 B
TypeScript
6 lines
195 B
TypeScript
|
export const isHTMLOption = (e: Element): e is HTMLOptionElement =>
|
||
|
e.tagName === 'OPTION';
|
||
|
|
||
|
export const isHTMLOptgroup = (e: Element): e is HTMLOptGroupElement =>
|
||
|
e.tagName === 'OPTGROUP';
|