🏠FunctionsmonthsToYears()On this pagemonthsToYears()Returns the number of years equal to the given number of months.Usageimport { monthsToYears } from 'easy-dates';monthsToYears(months);CopyProp typesproptyperequireddefaultmonthsnumberyesnullExamplesmonthsToYears(12); // 1CopymonthsToYears(6); // 0.5CopymonthsToYears(24); // 2Copy