Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bundlee/mod.ts>Bundlee#has

Bundle static assets to a single JSON-file.
Go to Latest
method Bundlee.prototype.has
import { Bundlee } from "https://deno.land/x/bundlee@0.9.3/mod.ts";

Checks if a file exists in a JSON bundle.

Parameters

filePath: string

The path of the file to retrieve.

Returns

boolean

true if the file exists in the bundle, false otherwise.