CoastalCommitsPastes/server/node_modules/cldrjs/doc/api/unresolved/get.md

13 lines
498 B
Markdown
Raw Normal View History

2022-03-06 19:46:59 -05:00
## .get( path )
Overload (extend) `.get()` to get the item data or lookup by following [locale inheritance](http://www.unicode.org/reports/tr35/#Locale_Inheritance), set a local resolved cache if it's found (for subsequent faster access), or return `undefined`.
| Parameter | Type | Example |
| --- | --- | --- |
| *path* | String or<br>Array | See `cldr.get()` above for more information |
```javascript
ptBr.get( "main/{languageId}/numbers/symbols-numberSystem-latn/decimal" );
// ➡ ","
```