destack.sh
docstemplatesblog
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:convert
  11. ToOwned
    1. Members
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
menu
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:convert
  11. ToOwned
    1. Members
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
Docs/Language/Standard Library/Modules/destack:convert
mdtxt

ToOwned

import { ToOwned } from "destack:convert";

Owned form of a borrowed value.

language/library/src/convert/borrow.ds:21:27
1export newtype interface ToOwned {2    Owned;3    toOwned(): this.Owned;4}

Members

Owned

The owned value type.

toOwned(): this.Owned

Copy this value into owned storage.

discordxgithub
2026.8.3alpha