1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00
Files
tools/core/stdlib/src/utils/index.ts

22 lines
366 B
TypeScript

/**
* @name timestamp
* @category Utils
* @description Returns the current timestamp
*
* @returns {number} The current timestamp
*
* @since 0.0.2
*/
export const timestamp = () => Date.now();
/**
* @name noop
* @category Utils
* @description A function that does nothing
*
* @returns {void} Nothing
*
* @since 0.0.2
*/
export const noop = () => {};