Function exists

  • Test whether or not path exists by checking with the file system. Then call the callback argument with either true or false. According to Node.js: deprecated Use stat or access instead.

    Parameters

    • this: V_Context
    • path: PathLike
    • cb: (exists: boolean) => unknown = nop

    Returns void