mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Implement edit
This commit is contained in:
@@ -2,3 +2,4 @@ export { default as timeout } from "./timeout";
|
||||
export { default as animationFrame } from "./animationFrame";
|
||||
export { default as pascalCase } from "./pascalCase";
|
||||
export { default as oncePerFrame } from "./oncePerFrame";
|
||||
export { default as isBeforeDate } from "./isBeforeDate";
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export default function isBeforeDate(date: string | number | Date) {
|
||||
return new Date() < new Date(date);
|
||||
}
|
||||
Reference in New Issue
Block a user