Skip to main content

MyExtract

MIDDLE

Implement the built-in Extract<T, U> type. Extract keeps only types from T that are assignable to U.

Loading editor...

Run your code to see results

Click the Run button above