ee.DateRange.isUnbounded

Returns true if this DateRange contains all dates.

UsageReturns
DateRange.isUnbounded()Boolean
ArgumentTypeDetails
this: dateRangeDateRange

Examples

Code Editor (JavaScript)

// A series of ee.DateRange objects.
var dateRangeBounded = ee.DateRange('2017-06-24', '2017-07-24');
var dateRangeUnbounded = ee.DateRange.unbounded();

// Determine if an ee.DateRange object is unbounded.
print('Is dateRangeBounded unbounded?', dateRangeBounded.isUnbounded());
print('Is dateRangeUnbounded unbounded?', dateRangeUnbounded.isUnbounded());