@vsokolov/utils - v0.32.0
Preparing search index...
getFlagEmoji
Function getFlagEmoji
getFlagEmoji
(
countryCode
:
string
)
:
string
Get flag emoji from country code
Parameters
countryCode
:
string
Returns
string
Flag emoji string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
src
browser
browser.ts
dataToFile
detectDeviceType
isMobileDevice
getOs
downloadAsJson
isPageReloaded
dom.ts
$
$$
style
addClass
removeClass
insertBefore
insertAfter
prepend
image.ts
getImageDimensions
setBase64Img
fileToBase64
video.ts
cameraEnvironment
getVideoConstraint
startCamera
stopCamera
array.ts
flattenArray
unique
removeItem
randomItem
shuffleArray
sortAsc
sort
sortBy
insertItemAtIndex
replaceItemAtIndex
removeItemAtIndex
median
intersection
countBy
occurrenceCount
base.ts
wait
perfStart
perfStop
bytesToSize
debounce
throttle
cache.ts
cache
country.ts
getCountryFromISO
showPosition
getLocation
getFlagEmoji
currency.ts
toDollars
formatPrice
date.ts
formatDate
getMonthList
timestampToDate
dateWithTimeStamp
getWeekLastDay
getWeekFirstDay
getMonthLastDay
getMonthFirstDay
isWeekday
toLongDate
dateTimeToCron
cronToDateTime
dateRangeGenerator
secondsInDays
timeAgo
getTimeZone
timestamp
timestampIso
toUtc
function.ts
AnyFunc
AnyAsyncFunc
batchInvoke
pipe
isAsync
tap
html.ts
removeHtmlTags
removeInlineStyles
escape
unescape
is.ts
toString
isUndefined
isDef
isBoolean
isFunction
isNumber
isString
isObject
isNull
isRegExp
isDate
isJsObject
isHtmlElement
hasProperty
isWindow
isBrowser
toRawType
isTruthyAndNotEmpty
isPlainObject
number.ts
rangeParser
addZero
getRandomNumber
nFormatter
generateNumberWithLength
object.ts
omit
pick
flattenObject
filterFalsyFromObject
unionWithExclusion
flip
uniqueObject
objectKeys
objectEntries
getUniqueByKey
regex.ts
isValidEmail
isValidIPV4
isValidIPV6
isValidUrl
trimNewLines
string.ts
camelCase
pascalCase
kebabCase
escapeHtml
removeZeroWidthSpace
endsWithAny
startsWithAny
isValidUUID
randomHexColorCode
randomStr
slugify
capitalize
truncate
maskString
isAlphaNumeric
try-catch.ts
tryCatch
types.ts
MonthName
Fn
ElementOf
RecordObject
Collection
Callable
IndexCallback
NonNegativeInteger
Maybe
Prettify
FetchResponse
NonNullable
URL
url.ts
addTrailingSlash
DeviceType
ImageDimension
CameraEnvironment
VideoConstraint
Optional
CacheAPI
Currency
ParametersOf
LastFnReturnType
Result
Success
Failure
ErrorWithStatus
ErrorConstructor
TryCatchOptions
Get flag emoji from country code