questions/02595-medium-pickbytype/README.md
From T, pick a set of properties whose type are assignable to U.
For Example
type OnlyBoolean = PickByType<{
name: string
count: number
isReadonly: boolean
isEnable: boolean
}, boolean> // { isReadonly: boolean; isEnable: boolean; }
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/2595/answer" target="_blank"></a> <a href="https://tsch.js.org/2595/solutions" target="_blank"></a> <hr><h3>Related Challenges</h3><a href="https://github.com/type-challenges/type-challenges/blob/main/questions/02852-medium-omitbytype/README.md" target="_blank"></a> <!--info-footer-end-->