Jquery: how to unselect all checkboxes

ive got a function below, when triggered it should unselect all radio buttons with class ‘subsection’. whats the best way to do this?

$(document).ready(function(){
$(“#section”).change(function()
{
???
});
});

$('input:checkbox').each( function() {
     this.checked = !this.checked;
});

$("input:radio .subsection").attr("checked", false);