mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
regen doc
This commit is contained in:
@@ -9,14 +9,19 @@ Attempts a coding contract.
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
attempt(answer: string[] | number, filename: string, host?: string, opts?: CodingAttemptOptions): boolean | string;
|
||||
attempt(
|
||||
answer: string | number | any[],
|
||||
filename: string,
|
||||
host?: string,
|
||||
opts?: CodingAttemptOptions,
|
||||
): boolean | string;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| answer | string\[\] \| number | Solution for the contract. |
|
||||
| answer | string \| number \| any\[\] | Solution for the contract. |
|
||||
| filename | string | Filename of the contract. |
|
||||
| host | string | Host of the server containing the contract. Optional. Defaults to current server if not provided. |
|
||||
| opts | [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Optional parameters for configuring function behavior. |
|
||||
|
||||
Reference in New Issue
Block a user