Class: Function

Function(options)

new Function(options)

Parameters:
Name Type Description
options Options
Source:

Members

output :string

The extracted output from execution of the .scad file.
Type:
  • string
Source:

type :Type

The detected type of the value retrieved from the OpenSCAD function.
Type:
  • Type
Source:

Methods

isBoolean() → {boolean}

Returns true if this type is of type OpenSCADBoolean.
Source:
Returns:
True if this type is of type OpenSCADBoolean.
Type
boolean

isInf() → {boolean}

Returns true if this type is of type OpenSCADInfinity.
Source:
Returns:
True if this type is of type OpenSCADInfinity.
Type
boolean

isNan() → {boolean}

Returns true if this type is of type OpenSCADNaN.
Source:
Returns:
True if this type is of type OpenSCADNaN.
Type
boolean

isNumber() → {boolean}

Returns true if this type is of type OpenSCADNumber.
Source:
Returns:
True if this type is of type OpenSCADNumber.
Type
boolean

isRange() → {boolean}

Returns true if this type is of type OpenSCADRange.
Source:
Returns:
True if this type is of type OpenSCADBoolean.
Type
boolean

isString() → {boolean}

Returns true if this type is of type OpenSCADString.
Source:
Returns:
True if this type is of type OpenSCADString.
Type
boolean

isUndef() → {boolean}

Returns true if this type is of type OpenSCADUndefined.
Source:
Returns:
True if this type is of type OpenSCADUndefined.
Type
boolean

isVector() → {boolean}

Returns true if this type is of type OpenSCADVector.
Source:
Returns:
True if this type is of type OpenSCADVector.
Type
boolean