Edit this page isSameOrBeforeYear Type documentation¶ TypeScript declaration¶ isSameOrBeforeYear ¶ constant import { isSameOrBeforeYear } from '@siemens/element-ng/datepicker'; Is first year equal or before the second year. current >= compareTo isSameOrBeforeYear(current: Date, compareTo: Date): boolean Is first year equal or before the second year. current >= compareTo Parameters current : Date ¶ compareTo : Date ¶ Except where otherwise noted, content on this site is licensed under MIT License.