statSync method
Synchronously returns a {@linkcode Deno.FileInfo} for the file.
import { assert } from "https://deno.land/std/testing/asserts.ts";
const file = Deno.openSync("hello.txt")
const fileInfo = file.statSync();
assert(fileInfo.isFile);
file.close();
Implementation
_i4.FileInfo statSync() => _i3.callMethod(
this,
'statSync',
[],
);