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

path.file

Utility function to create a FilePath

function file<P extends Partition>(...args: PartitionedNonEmpty<P>): FilePath<PartitionedNonEmpty<P>>;
function file(...args: SegmentsNonEmpty): FilePath<SegmentsNonEmpty>;
function file(...args: Segments): FilePath<Segments>;
§

Utility function to create a FilePath

§Type Parameters

§Parameters

§
...args: PartitionedNonEmpty<P> optional
[src]
§

§Parameters

§
...args: Segments optional
[src]