Regulation

Regulation

Class representing a regulation

Constructor

new Regulation()

Source:

Members

(static) CNCAP :string

Description:
  • CNCAP regulation
Source:
CNCAP regulation
Type:
  • string

(static) EuroNCAP :string

Description:
  • EuroNCAP regulation
Source:
EuroNCAP regulation
Type:
  • string

(static) IIHS :string

Description:
  • IIHS regulation
Source:
IIHS regulation
Type:
  • string

(static) USNCAP :string

Description:
  • USNCAP regulation
Source:
USNCAP regulation
Type:
  • string

Methods

(static) CrashTests(regulation) → {Array.<string>}

Description:
  • Returns the crash tests we support for a given regulation
Source:
Example
let crash_tests = Regulation.CrashTests(Regulation.CNCAP);
Parameters:
Name Type Description
regulation string Regulation
Returns:
Type
Array.<string>

(static) GetAll() → {Array.<string>}

Description:
  • Return an array of all the available regulation strings
Source:
Example
let regulations = Regulation.GetAll();
Returns:
Type
Array.<string>