Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDateRange.isEmpty()\u003c/code\u003e method returns \u003ccode\u003etrue\u003c/code\u003e if the DateRange object represents an empty time interval (i.e., the start date is equal to or later than the end date).\u003c/p\u003e\n"],["\u003cp\u003eIt can be applied to any \u003ccode\u003eee.DateRange\u003c/code\u003e object to check its validity.\u003c/p\u003e\n"],["\u003cp\u003eIf the start date is earlier than the end date, the DateRange is considered valid and the method returns \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eWhen the start and end dates are the same, the \u003ccode\u003eDateRange.isEmpty()\u003c/code\u003e method will also return \u003ccode\u003etrue\u003c/code\u003e, indicating an empty or instantaneous range.\u003c/p\u003e\n"]]],["The `isEmpty()` method checks if a `DateRange` contains no dates. It returns a boolean value: `true` if the start date is greater than or equal to the end date, `false` otherwise. It operates on a `DateRange` object. Examples demonstrate creating `DateRange` objects and using `isEmpty()` to check their status, outputting the boolean result in both Javascript and python.\n"],null,[]]