mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Show a report for total users chart
This commit is contained in:
parent
794938db72
commit
4d064adf1b
5397 changed files with 313100 additions and 365 deletions
32
node_modules/date-fns/isValid.d.ts
generated
vendored
Normal file
32
node_modules/date-fns/isValid.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* @name isValid
|
||||
* @category Common Helpers
|
||||
* @summary Is the given date valid?
|
||||
*
|
||||
* @description
|
||||
* Returns false if argument is Invalid Date and true otherwise.
|
||||
* Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)
|
||||
* Invalid Date is a Date, whose time value is NaN.
|
||||
*
|
||||
* Time value of Date: http://es5.github.io/#x15.9.1.1
|
||||
*
|
||||
* @param date - The date to check
|
||||
*
|
||||
* @returns The date is valid
|
||||
*
|
||||
* @example
|
||||
* // For the valid date:
|
||||
* const result = isValid(new Date(2014, 1, 31))
|
||||
* //=> true
|
||||
*
|
||||
* @example
|
||||
* // For the value, convertible into a date:
|
||||
* const result = isValid(1393804800000)
|
||||
* //=> true
|
||||
*
|
||||
* @example
|
||||
* // For the invalid date:
|
||||
* const result = isValid(new Date(''))
|
||||
* //=> false
|
||||
*/
|
||||
export declare function isValid(date: unknown): boolean;
|
Loading…
Add table
Add a link
Reference in a new issue