(a) A municipality is authorized to perform any function and exercise full legislative power in any and all matters of whatsoever nature pertaining to its municipal affairs, including, but not limited to, the power to tax.
(b) The rule of decision known as “Dillon's Rule” is inapplicable to the municipal affairs of municipalities.