Get a value using a path of property keys.
getByString
interface Duck { taxonomy: { genus: 'anas'; species: 'platyrhynchos'; };}type DuckSpecies = GetByString<Duck, 'taxonomy.species'>; // 'platyrhynchos' Copy
interface Duck { taxonomy: { genus: 'anas'; species: 'platyrhynchos'; };}type DuckSpecies = GetByString<Duck, 'taxonomy.species'>; // 'platyrhynchos'
Get a value using a path of property keys.