timepiece/node_modules/date-fns/minutesToMilliseconds.d.mts

19 lines
509 B
TypeScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
/**
* @name minutesToMilliseconds
* @category Conversion Helpers
* @summary Convert minutes to milliseconds.
*
* @description
* Convert a number of minutes to a full number of milliseconds.
*
* @param minutes - The number of minutes to be converted
*
* @returns The number of minutes converted in milliseconds
*
* @example
* // Convert 2 minutes to milliseconds
* const result = minutesToMilliseconds(2)
* //=> 120000
*/
export declare function minutesToMilliseconds(minutes: number): number;