UNPKG

@formatjs/intl-pluralrules

Version:
12 lines (11 loc) 445 B
/* @generated */ // prettier-ignore if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') { Intl.PluralRules.__addLocaleData({"data":{"categories":{"cardinal":["one","two","other"],"ordinal":["other"]},"fn":function(n, ord) { var s = String(n).split('.'), i = s[0], v0 = !s[1]; if (ord) return 'other'; return i == 1 && v0 || i == 0 && !v0 ? 'one' : i == 2 && v0 ? 'two' : 'other'; }},"locale":"he"}) }