Difference between revisions of "Manuals/calci/INARRAY"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=INARRAY (Value,Array)=
+
<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/>
 
 
 
where
 
where
 
+
*<math>Value</math> is the starting number.
*<math> From</math> is the starting number.
+
**INARRAY()  is the tester function of with in array values.
 
 
INARRAY()  is the tester function of with in array values.
 
  
 
==Description==
 
==Description==
  
 
INARRAY (Value,Array)
 
INARRAY (Value,Array)
 
 
*<math>Value</math> is the number to test and Array  is the set of array values.
 
*<math>Value</math> is the number to test and Array  is the set of array values.
 
*This function will return the result as TRUE when the given value is with in given set of array values.
 
*This function will return the result as TRUE when the given value is with in given set of array values.
Line 21: Line 17:
 
#INARRAY("a",["e","o","e","f"]) = false
 
#INARRAY("a",["e","o","e","f"]) = false
  
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=F37rd-BpVOo&t=10s|280|center|Elements-Matrix}}
  
 
==Examples==
 
==Examples==

Latest revision as of 14:13, 4 March 2019

INARRAY (Value,Array)


where

  • is the starting number.
    • INARRAY() is the tester function of with in array values.

Description

INARRAY (Value,Array)

  • is the number to test and Array is the set of array values.
  • This function will return the result as TRUE when the given value is with in given set of array values.
  • Also will return the result as FALSE when the given value is not with in given set of array values.

See Also

  1. INARRAY(6,[1,6,10]) = true
  2. INARRAY(-5,[-1,-3,-5,-10]) = true
  3. INARRAY(4.2,[3.1,4.002,4.54,4.21]) = false
  4. INARRAY("a",["e","o","e","f"]) = false

Related Videos

Elements-Matrix

Examples

References