@devlander/utils
Version:
Comprehensive JavaScript and TypeScript utilities for seamless development. Includes object manipulation, data validation, and more.
8 lines (7 loc) • 318 B
TypeScript
/**
* Converts a video timestamp string to seconds.
*
* @param timestamp - The video timestamp string in the format "HH:MM:SS".
* @returns The number of seconds represented by the timestamp, or NaN if the timestamp is invalid.
*/
export declare function convertVideoTimeStampToSeconds(timestamp: string): number;