Class: Between

Assessor.Verifier. Between

new Between

The value value has to be greater than or equal to min and lesser than or equal to max.
Parameters:
Name Type Description
value Number | Assessor.Value.Value
min Number | Assessor.Value.Value
max Number | Assessor.Value.Value
Source:
  • verifier.js, line 145

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

max :Assessor.Value

The upper bound for Assessor.Verifier.Between#value.
Source:
  • verifier.js, line 164

min :Assessor.Value

The lower bound for Assessor.Verifier.Between#value.
Source:
  • verifier.js, line 158

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

value :Assessor.Value

The value that is to be compared to Assessor.Verifier.Between#min and Assessor.Verifier.Between#max.
Source:
  • verifier.js, line 152

Methods

choose

Compiles a list of all fixtures that can be applied to this verifier while this verifier is still valid under the given fixtures.
Parameters:
Name Type Description
elements Assessor.ElementList
fixtures Assessor.FixtureList
Source:
  • assessor.js, line 272
Returns:
An array of Assessor.FixtureList objects.
Type
Array

toJSON

Generates a JSON representation of this object that can be used to restore it.
Source:
  • assessor.js, line 57
Returns:
Type
String

verify

Verifies this verifier object under the given fixtures.
Parameters:
Name Type Description
elements Assessor.ElementList
fixtures Assessor.FixtureList
Source:
  • assessor.js, line 282
Returns:
Type
Boolean