import isSameWeek from '../isSameWeek/index' ; import requiredArgs from '../_lib/requiredArgs/index' ; import type { LocaleOptions , WeekStartOptions } from '../types' ; name category summary pure description param { Date | Number } date param options param { Locale } options . locale - the locale object. See [Locale] https param { 0 | 1 | 2 | 3 | 4 | 5 | 6 } options . weekStartsOn returns { Boolean } throws throws example example export default function isThisWeek ( dirtyDate , options ? ) { requiredArgs ( 1 , arguments ) ; return isSameWeek ( dirtyDate , Date . now ( ) , options ) ; }