registration

This commit is contained in:
User
2025-02-02 16:08:03 +03:00
parent 7f6495eb4d
commit 78afbaed71
6334 changed files with 196774 additions and 165754 deletions

View File

@@ -1,5 +1,4 @@
"use strict";
exports.isExists = isExists; /**
/**
* @name isExists
* @category Common Helpers
* @summary Is the given date exists?
@@ -23,7 +22,7 @@ exports.isExists = isExists; /**
* const result = isExists(2018, 1, 31)
* //=> false
*/
function isExists(year, month, day) {
export function isExists(year, month, day) {
const date = new Date(year, month, day);
return (
date.getFullYear() === year &&
@@ -31,3 +30,6 @@ function isExists(year, month, day) {
date.getDate() === day
);
}
// Fallback for modularized imports:
export default isExists;