Every line of 'jquery haschild' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
178 hasChild (element) { 179 if (this.children.indexOf(element) != -1) { 180 return true; 181 } 182 return false; 183 }
76 return function child(elem) { 77 var parent = adapter.getParent(elem); 78 return !!parent && next(parent); 79 };