Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/tools/release/deps.ts>dax.PathRef#readMaybeBytesSync

A modern runtime for JavaScript and TypeScript.
Latest
method dax.PathRef.prototype.readMaybeBytesSync
Re-export
import { dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { PathRef } = dax;

Calls .readBytesSync(), but returns undefined if the path doesn't exist.

Returns

Uint8Array | undefined