예제 #1
0
int enigma_user::array_length_2d(const var& v, int n)
{
  return v.array_len(n);
}
예제 #2
0
bool enigma_user::is_array(const var& v)
{
  //There is no way (currently) to downsize an array from >1 element, so this might not be accurate.
  return (v.array_height() > 1) || (v.array_len() > 1);
}
예제 #3
0
int enigma_user::array_length_1d(const var& v)
{
  return v.array_len();
}