On this page

Type Alias Extract<T, U>

Extract: T extends U ? T : never

Extract from T those types that are assignable to U

Type Parameters

  • T
  • U
Was this helpful?
SDK JS
Reference
Extract