grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedData
Key Value Search
00000000-0b31-4da6-88aa-8e41fc07944b
object preview Keys inputlist · requiredList of keys to search in.Values inputlist · requiredList of associated values, one for each key.Search inputitem · may be nullKey to search for.Value outputitemValue associated with the found key.Index outputinteger · itemIndex of the found key, or -1 if no key matched the search.

⚠️ This content is auto-generated.

Find a matching key in a list and output the value associated with it.

Input parameters:

  1. Ks → List of keys to search in.
  2. Vs → List of associated values, one for each key.
  3. Se → Key to search for.

Output parameters:

  1. Vl → Value associated with the found key.
  2. Ix → Index of the found key, or -1 if no key matched the search.