isSameYear Type documentation¶ TypeScript declaration¶ isSameYear ¶ constant import { isSameYear } from '@siemens/element-ng/datepicker'; Are the two years identical. isSameYear(current: Date, compareTo?: Date): boolean Are the two years identical. Parameters current : Date ¶ compareTo ? : Date ¶ Except where otherwise noted, content on this site is licensed under MIT License.