function isDateisDate(object: unknown): object is DateDeprecatedReturns true if the given object is a Date. Otherwise, returns false. import util from 'node:util'; util.isDate(new Date()); // Returns: true util.isDate(Date()); // false (without 'new' returns a String) util.isDate({}); // Returns: false Parametersobject: unknownReturn Typeobject is Date