Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.8/validator/es/lib/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.8/validator/es/lib/isAfter.js

import toDate from './toDate';
export default function isAfter(date, options) {
  // For backwards compatibility:
  // isAfter(str [, date]), i.e. `options` could be used as argument for the legacy `date`
  var comparisonDate = (options === null || options === void 0 ? void 0 : options.comparisonDate) || options || Date().toString();
  var comparison = toDate(comparisonDate);
  var original = toDate(date);
  return !!(original && comparison && original > comparison);
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists