Difference between revisions of "Manuals/calci/INARRAY"

From ZCubes Wiki
Jump to navigation Jump to search
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.

Revision as of 13:50, 23 August 2018

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


Examples

References