UNPKG

431 BTypeScriptView Raw
1/**
2 * @name weeksToDays
3 * @category Conversion Helpers
4 * @summary Convert weeks to days.
5 *
6 * @description
7 * Convert a number of weeks to a full number of days.
8 *
9 * @param weeks - The number of weeks to be converted
10 *
11 * @returns The number of weeks converted in days
12 *
13 * @example
14 * // Convert 2 weeks into days
15 * const result = weeksToDays(2)
16 * //=> 14
17 */
18export declare function weeksToDays(weeks: number): number;