json-fs-query
    Preparing search index...

    Function fileExists

    • Whether a file (or folder) of the database exists, counting what the running statement has written or deleted so far (see withWriteSet). Node only, like the schema statements that use it.

      Parameters

      • path: string

        A path inside the database, such as users.json.

      Returns boolean