UNPKG

@ngneat/falso

Version:

All the Fake Data for All Your Real Needs

2 lines (1 loc) 1.08 kB
import r from"seedrandom";let t=r();function e(r,e){let n=r;if(Array.isArray(r)){let o=r;e?.maxCharCount&&"string"==typeof r[0]&&(o=r.filter((r=>r.length<=e.maxCharCount))),n=()=>{return(r=o)[Math.floor(t()*r.length)];var r}}return void 0===e?.length?n(0):Array.from({length:e.length},((r,t)=>n(t)))}var n=["लाल गर्दन वाले फलारोप","क्लिफ निगल","लकड़हारा किंगबर्ड","एज़्टेक थ्रश","हुडेड वार्बलर","आम पोचार्ड","स्कॉट्स ओरिओल","ब्लैक-ब्रोएड अल्बाट्रॉस","भिक्षु तोता","शानदार हमिंगबर्ड","ब्रॉड-बिल सैंडपाइपर","बुश्तिट","मैक्सिकन जे","हुडेड मर्जर","लकड़ी सारस","रॉस गल","ग्रीन सैंडपाइपर","काली क्रेन"];function o(r){return e(n,r)}export{o as randBird};