function isDate
Usage in Deno
```typescript import { isDate } from "node:node__util.d.ts"; ```
isDate(object: unknown): object is Date
Deprecated
Since v4.0.0 - Use [types.isDate](../.././node__util.d.ts/~/types.isDate) instead.
Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`.
```js
import util from 'node:util';
util.isDate(new Date());
// Returns: true
util.isDate(Date());
// false (without 'new' returns a String)
util.isDate({});
// Returns: false
```
object is Date