mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
963 B
963 B
Home > bitburner > CodingContract > getContractType
CodingContract.getContractType() method
Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.)
Signature:
getContractType(fn: string, host?: Host): CodingContractTypes;
Parameters
| Parameter | Type | Description |
|---|---|---|
| fn | string | Filename of the contract. |
| host | Host | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. |
Returns:
Name describing the type of problem posed by the Coding Contract.
Remarks
5 GB