Uni-Logo

Base Contracts

back to Contracts

Base Contract

(TreatJS 1.x)

Description

BaseContract ( function[, name] );

Parameters

function
A JavaScript function used as predicate.
name
A string used as name.