method promises.FileHandle.stat
Usage in Deno
```typescript import { type promises } from "node:node__fs.d.ts"; ```
FileHandle.stat(opts?: StatOptions & { bigint?: false | undefined; }): Promise<Stats>
optional
opts: StatOptions & { bigint?: false | undefined; }
Promise<Stats>
Fulfills with an {fs.Stats} for the file.
FileHandle.stat(opts: StatOptions & { bigint: true; }): Promise<BigIntStats>
opts: StatOptions & { bigint: true; }
Promise<BigIntStats>
FileHandle.stat(opts?: StatOptions): Promise<Stats | BigIntStats>
optional
opts: StatOptions
Promise<Stats | BigIntStats>