Object Contracts
back to Contracts
Object Contract
(TreatJS 1.x)
Description
ObjectContract ( map );
Parameters
- map
- Map.
Advanced Object Contract
(TreatJS 1.x)
Description
AdvancedObjectContract ( mapping[, strict] );
Parameters
- mapping
- JavaScript Array or JavaScript Object.
- strict
- Invoke strict mode.