@technobuddha/library
Version:
A large library of useful functions
14 lines (13 loc) • 348 B
TypeScript
declare type Options = {
/** Use the UTC timezone */
UTC?: boolean;
};
/**
* Determine if a date is at midnight
*
* @param input A date
* @param __namedParamaters see {@link Options}
* @returns true, if the date is at midnight
*/
export declare function isMidnight(input: Date, { UTC }?: Options): boolean;
export default isMidnight;