Uni-Logo

Running TreatJS

back to TreatJS Core API Documentation

Contract Assertion

(TreatJS 1.x)

Description

targetPrime = assert ( target, contract );

Parameters

target
A JavaScript value.
contract
Contract.

Contract Construction

(TreatJS 1.x)

Description

contract = construct ( constructor );

Parameters

constructor
Constructor.

Description

constructor.build();

Parameters

constructor
Constructor.