Skip to content

⬅️ Back to Table of Contents

📄 index.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 2

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/get/index.ts

📦 Imports

Name Source
MaybeRef ../utils
unref vue

Functions

get(ref: MaybeRef<T>): T

Code
export function get<T>(ref: MaybeRef<T>): T
  • JSDoc:

    /**
     * Shorthand for accessing `ref.value`
     */
    

  • Parameters:

  • ref: MaybeRef<T>
  • Return Type: T