Qurak
說明文件
價格
登入
Qurak
說明文件
函式
SelectFirst
SelectFirst
可用
Returns the first element satisfying a predicate.
形式
SelectFirst[data, crit]
SelectFirst[data, crit -> prop]
SelectFirst[data, crit, default]
SelectFirst[crit]
已驗證的範例
SelectFirst[{1, 2, 3, 4}, # > 2 &] → 3
SelectFirst[<|a -> 1, b -> 4, c -> 9|>, # > 3 &] → 4
在 Qurak 上執行
搜尋參考文件
主題
Computation With Structured Datasets
- Selections and Transformations
Elements Of Lists
- Finding Sublists
Function Composition And Operator Forms
- Functions with Operator Forms
New In100 Alphabetical Listing
- S
New In100 Core Language And Structure
- Finding Elements »
相關
Select
FirstCase
FirstPosition
First
Take
Drop
Reap
Pick
GatherBy
GroupBy
MatchQ
StringMatchQ
← SelectedNotebook
SelectionCreateCell →
全部 6300 個函式
·
從 MCP 用戶端使用這個