new NumberElements
Calculates the number of elements of the given type.
Parameters:
Name | Type | Description |
---|---|---|
what |
String | Possible values are
|
- Source:
- value.js, line 86
Extends
Members
-
class :String
-
Classname of the object the current instance is created from.
- Source:
- assessor.js, line 37
-
expanded :Boolean
-
A flag to indicate this is an actual instance.
- Default Value:
- true
- Source:
- assessor.js, line 28
-
namespace :String
-
The namespace the class is in or null if the class is defined directly in the main namespace.
- Source:
- assessor.js, line 35
-
parameters :String
-
JSON string representing the constructor parameters as elements of an array.
- Source:
- assessor.js, line 49
Methods
-
choose
-
Returns a list of possible fixtures for elements that are not fixed yet within the given fixtures.
Parameters:
Name Type Description elements
Assessor.ElementList fixtures
Assessor.FixtureList - Source:
- value.js, line 40
Returns:
- Type
- Array
-
evaluate
-
Evaluates this value.
Parameters:
Name Type Description elements
Assessor.ElementList fixtures
Assessor.FixtureList - Source:
- value.js, line 30
Returns:
- Type
- Number
-
toJSON
-
Generates a JSON representation of this object that can be used to restore it.
- Source:
- assessor.js, line 57
Returns:
- Type
- String