I am dealing with an object that is structured like this:
const input = {
"recurrence": {
"rrule": [
"RRULE:FREQ=DAILY;UNTIL=20230606T133000Z"
],
}
};
My goal is to extract the value stored in FREQ
and determine if it equals DAILY
or YEARLY
. Additionally, I need to access the value of UNTIL
.