Function exists

  • Test whether or not path exists by checking with the file system. Then call the callback argument with either true or false.

    Parameters

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

    Returns void

    Use stat or access instead.