Files
bitburner-src/markdown/bitburner.codingcontract.getcontracttype.md
T
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

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:

CodingContractTypes

Name describing the type of problem posed by the Coding Contract.

Remarks

5 GB