UNPKG

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