whatTimeIsIt function
whatTimeIsIt({ name: "John", age: 30 });// prints "Hey John, it's 10:00"
JSDoc Supported Types
interface
interface MyObj { name: string; age: number; gender?: string; }
number - returns the current time in timestamp
Generated using TypeDoc
whatTimeIsIt function
Example
See
JSDoc Supported Types
Example
interface
Returns
number - returns the current time in timestamp