firstMatch
Return the first value that matches the callback condition
utils-firstmatch
log
Utils
index.js
Arrays
["utils","arrays","firstmatch","find"]
Example
Semantic UI
Documentation
UI Components
Learn
Examples
ctrl+k
Enter a search term above to see results...
Categories
>
Framework
>
UI Components
>
Templates
>
Reactivity
>
Query
>
Utils
Debug
fatal
log
Setup
Browser Usage
ESM Usage
Looping
each
asyncEach
asyncMap
Arrays
any
difference
filterEmpty
findIndex
first
firstMatch
flatten
groupBy
inArray
intersection
last
moveItem
moveToBack
moveToFront
range
remove
some
sortBy
sum
unique
uniqueItems
where
Objects
arrayFromObject
deepExtend
extend
filterObject
get
hasProperty
keys
mapObject
onlyKeys
pick
proxyObject
reverseKeys
values
weightedObjectSearch
Types
isArguments
isArray
isBinary
isBoolean
isClassInstance
isDOM
isEmpty
isFunction
isMap
isNode
isNumber
isObject
isPlainObject
isPromise
isSet
isString
Strings
camelToKebab
capitalize
capitalizeWords
escapeHTML
getArticle
joinWords
kebabToCamel
toTitleCase
truncate
Functions
debounce
debounce (async)
memoize
noop
throttle
throttle (async)
wrapFunction
Colors
oklchToHex
oklchToRgb
CSS
adoptStylesheet
extractCSS
scopeStyles
Browser
copyText
getIPAddress
getJSON
getKeyFromEvent
getText
idleCallback
openLink
Dates
formatDate
Numbers
roundDecimal
roundNumber
Environment
isCI
isClient
isDevelopment
isServer
Crypto
generateID
getRandomSeed
hashCode
prettifyHash
tokenize
Equality
isEqual
Cloning