Difference between revisions of "Manuals/calci/INARRAY"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/> *<math> From</math> is the starting number. ==Description== *This function is the tester function of with i...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/>
 
<div style="font-size:30px">'''INARRAY (Value,Array)'''</div><br/>
*<math> From</math> is the starting number.
+
where
 +
*<math>Value</math> is the starting number.
 +
**INARRAY()  is the tester function of with in array values.
  
 
==Description==
 
==Description==
*This function is the tester function of with in array values.
+
 
*In <math>INARRAY (Value,Array)</math>,<math>Value</math> is the number to test and Array  is the set of array values.
+
INARRAY (Value,Array)
 +
*<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.
 
*Also will return the result as FALSE when the given value is not 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.
Line 14: 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 15: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