Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

file_exists

import { file_exists } from "https://raw.githubusercontent.com/olaven/dio/master/mod.ts";

Returns true or false depending on wether file exists or not.

async function file_exists(path: string): Promise<boolean>;
§
file_exists(path: string): Promise<boolean>
[src]

§Parameters

§
path: string
[src]

path to file

§Return Type

§
Promise<boolean>
[src]