ApiCoreFunctions
Function: contractCostHints()
function contractCostHints(checks): string[];Defined in: packages/core/src/records/contracts.ts:351
Advice on a collection's checks, for whoever writes them: patterns whose cost grows fast with the records they read, so a check that passes on small records may run out of steps or work on large ones. Not protocol: a verdict never depends on it.
Parameters
| Parameter | Type |
|---|---|
checks | readonly Contract[] |
Returns
string[]