import { deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { lstat } = deno;
Queries the file system for information on the path provided. If the given path is a symlink information about the symlink will be returned.
import { lstat } from "deno";
const fileInfo = await lstat("hello.txt");
assert(fileInfo.isFile());