User Tools

Site Tools


uphp:functions:is_array

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:is_array [2017/04/10 13:49]
jeff
uphp:functions:is_array [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">is_array (
-</html> +
-[[is_array]] ( +
-<html>+
 <span style="color:green">mixed <span style="color:green">mixed
 <span style="color:blue">$variable <span style="color:blue">$variable
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 Check to see if a variable or value is of type <html><b><span style="color:green">array<span style="color:black"></b></html> Check to see if a variable or value is of type <html><b><span style="color:green">array<span style="color:black"></b></html>
Line 26: Line 21:
 <html><b><span style="color:blue">$variable<span style="color:black"></b></html>:  Variable or expression to be evaluated <html><b><span style="color:blue">$variable<span style="color:black"></b></html>:  Variable or expression to be evaluated
  
-====Return Value====+====Return Values====
  
-<html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1 (true) if <html><b><span style="color:green">array<span style="color:black"></b></html>, 0 (false) if not an array+<html><b><span style="color:green">Integer<span style="color:black"></b>:  1 (true) if <b><span style="color:green">array<span style="color:black"></b>, 0 (false) if not an array</html>
  
 ====Examples==== ====Examples====
Line 53: Line 48:
 [[is_string()]] - Check if a variable is a <html><b><span style="color:green">string<span style="color:black"></b></html> [[is_string()]] - Check if a variable is a <html><b><span style="color:green">string<span style="color:black"></b></html>
  
-[[is_numeric()]] - Check if a value is numeric (<html><b><span style="color:green">int<span style="color:black"></b></html>, <html><b><span style="color:green">float<span style="color:black"></b></html> or numeric <html><b><span style="color:green">string<span style="color:black"></b></html>)+[[is_numeric()]] - <html>Check if a value is numeric (<b><span style="color:green">int<span style="color:black"></b>, <b><span style="color:green">float<span style="color:black"></b> or numeric <b><span style="color:green">string<span style="color:black"></b>)</html>
  
 [[isset()]] - Check if a variable exists [[isset()]] - Check if a variable exists
uphp/functions/is_array.1491832165.txt.gz · Last modified: 2021/09/13 05:56 (external edit)