Back to Pocketbase

Interface isNotExist

static/jsvm/interfaces/os.isNotExist.html

latest707 B
Original Source

Interface isNotExist

Hierarchy

  • isNotExist

  • isNotExist(err): boolean

IsNotExist returns a boolean indicating whether its argument is known to report that a file or directory does not exist. It is satisfied by [ErrNotExist] as well as some syscall errors.

This function predates [errors.Is]. It only supports errors returned by the os package. New code should use errors.Is(err, fs.ErrNotExist).

Parameters

err: Error

Returns boolean

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc