Every line of 'jquery find first' 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.
55 export function find () { 56 return $('.frost-button') 57 }
909 function find($el, key) { 910 return $el.find('[data-apos-ajax-' + key + ']'); 911 }
113 function find(arr, callback) { 114 return arr[findIndex(arr, callback)]; 115 }
73 function _insertBeforeFirst($container, selector, elem) { 74 const foundElems = $container.find(selector); 75 if (foundElems.length > 0) { 76 foundElems.eq(0).before(elem); 77 } else { 78 $container.append(elem); 79 } 80 }
9 export function first(array: T[]): T { 10 if (!array.length) 11 return undefined; 12 return array[0]; 13 }
432 export function find(array, matches) { 433 var index = findIndex(array, matches); 434 if (index !== -1) { 435 return array[index]; 436 } 437 }
7 function find(fn, arr) { 8 if (arguments.length === 1) { 9 return function (arrHolder) { 10 return find(fn, arrHolder); 11 }; 12 } 13 14 return arr.find(fn); 15 }
42 function find(element) { 43 for (var i = 0; i < this.dataStore.length; ++i) { 44 if (this.dataStore[i] == element) { 45 return i; 46 } 47 } 48 return -1; 49 }
28 function find(element) { 29 for (var i = 0; i < this.dataStore.length; ++i) { 30 if (this.dataStore[i] == element) { 31 return i; 32 } 33 } 34 return -1; 35 }
34 function find(query) { 35 var el = $(query); 36 return el.length < 2 ? el : root.parent().find(query); 37 }