omdl  v0.6.1
OpenSCAD Mechanical Design Library
datatypes_identify_iterable.scad File Reference

Iterable data type identification. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

function all_equal (v, cv)
 Test if a list of values equal a comparison value. More...
 
function any_equal (v, cv)
 Test if any element of a list of values equal a comparison value. More...
 
function all_defined (v)
 Test if no element of a list of values is undefined. More...
 
function any_undefined (v)
 Test if any element of a list of values is undefined. More...
 
function all_scalars (v)
 Test if all elements of a list of values are scalars. More...
 
function all_lists (v)
 Test if all elements of a list of values are lists. More...
 
function all_strings (v)
 Test if all elements of a list of values are strings. More...
 
function all_numbers (v)
 Test if all elements of a list of values are numbers. More...
 
function all_len (v, l)
 Test if all elements of a list of values are lists of a specified length. More...
 

Detailed Description

Iterable data type identification.

Author
Roy Allen Sutton
Date
2015-2017

This file is part of omdl, an OpenSCAD mechanical design library.

The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.

Definition in file datatypes_identify_iterable.scad.