Skip to main content
Recative SystemRecative System
TechnotesAPIBlog
GitHub
  • @recative/act-player
  • @recative/act-protocol
  • @recative/ap-core
  • @recative/atlas
  • @recative/audio-station
  • @recative/client-sdk
  • @recative/core-manager
  • @recative/database
    • Overview
    • Classes
    • Enumerations
    • Functions
      • ensureDocumentType
    • Interfaces
    • Type Aliases
    • Variables
  • @recative/definitions
  • @recative/lens
  • @recative/open-promise
  • @recative/phonograph
  • @recative/smart-resource
  • @recative/time-schedule
  • @recative/ugly-json
  • @recative/database
  • Functions
  • ensureDocumentType

ensureDocumentType

Callable

  • ensureDocumentType<T>(x: T): T & ICollectionDocument

  • Type parameters

    • T: object

    Parameters

    • x: T

    Returns T & ICollectionDocument

Powered by docusaurus-plugin-typedoc-api and TypeDoc
Previous
SerializationMethod
Next
IBinaryIndex
© Recative System 2023