Skip to content

isSameOrBefore Type documentation

TypeScript declaration

import { isSameOrBefore } from '@siemens/element-ng/datepicker';

Is first date equal or before the second date (without considering the time). current >= compareTo

isSameOrBefore(current: Date, compareTo: Date): boolean

Is first date equal or before the second date (without considering the time). current >= compareTo


Except where otherwise noted, content on this site is licensed under MIT License.