Centang apakah setidaknya satu kotak centang dicentang
//JavaScript
const atLeastOneCheckboxIsChecked = document.querySelectorAll('input[type="checkbox"]:checked').length > 0;
//jQuery
const atLeastOneCheckboxIsChecked = $('input[type="checkbox"]:checked').length > 0;
What