---
title: isVaultSubmission
description: >-
  Whether pull request `number` is a submission the site saved for the vault
  `records` describes: what that vault's `POST close/` accepts. `false` when the
  binding is missing. The moderation plugin asks before it offers Close.
updated_at: '2026-11-19T13:44:02+01:00'
created_at: '2026-11-11T18:21:28+01:00'
symbol:
  kind: function
  name: isVaultSubmission
  signatures:
    - >-
      isVaultSubmission(env: Readonly<Record<string, unknown>>, options:
      [[reference/api/plugin-submissions/server/VaultRecords|VaultRecords]],
      number: number): Promise<boolean>
  parameters:
    - name: env
      type: 'Readonly<Record<string, unknown>>'
    - name: options
      type: '[[reference/api/plugin-submissions/server/VaultRecords|VaultRecords]]'
    - name: number
      type: number
  returns:
    type: Promise<boolean>
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugin-submissions/src/server.ts#L205
---

# isVaultSubmission
