Find in Array

 
 
 

Categories

  • Array

Description

Outputs the results of searching the input array for the specified value.

Ports

Inputs

Value

The value to find.

Array

The array to search.

Epsilon

The precision used for comparison during the search.

Outputs

Found

True if the specified value was found in the array; false otherwise.

Index

The index of the first occurrence of the specified value, if found, in the (0-based) array.

Index Array

The 0-based indices of all occurrences of the specified value, if found, in the input array.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License