| 12345678910111213141516171819 |
- class dom_manager {
- static is_element(target) {
- return target instanceof HTMLElement;
- }
- static validate_element(target) {
- if (!self.is_element(target)) {
- throw "Parameter must be HTML Element.";
- }
- }
- }
- class type_manager {
- static is_function(target) {
- return typeof(target) === 'function';
- }
- }
- export { dom_manager, type_manager };
|