code: function extractTime(time) {
      var _a = Object(tslib__WEBPACK_IMPORTED_MODULE_1__["__read"])(time.split(':'), 2), h = _a[0], m = _a[1];
      return { hours: +h, minutes: +m };
  }
docs: Extract the hours and minutes from a string like "15:45"