# Function isDocumentID

- isDocumentID(value: string): value is DocumentID

  Type guard to check if a string is a valid Document ID

  #### Parameters

  - value: string

    String to validate

  #### Returns value is DocumentID

  true if the value matches Document ID format

  #### Example

      if (isDocumentID("A9-2024/0123")) {
        const id = "A9-2024/0123" as DocumentID;
      }

  - Defined in types/branded.ts:167