Same as the TypeScript built-in type Pick except that it works on actual runtime values.
Pick
import {pickObjectKeys} from '@augment-vir/common';pickObjectKeys({a: 'a', b: 'b'}, ['a']);// output is `{a: 'a'}` Copy
import {pickObjectKeys} from '@augment-vir/common';pickObjectKeys({a: 'a', b: 'b'}, ['a']);// output is `{a: 'a'}`
@augment-vir/common
Same as the TypeScript built-in type
Pick
except that it works on actual runtime values.