(condition: boolean, ...args: ReadonlyArray<any>)
| 115 | /** |
| 116 | * Writes the supplied assertion message to the console as an error when `condition` is false; when `condition` is true, no console output is produced. |
| 117 | * |
| 118 | * **Example** (Logging failed assertions) |
| 119 | * |
| 120 | * ```ts import.meta.vitest |
| 121 | * import { Console, Effect } from "effect" |
| 122 | * |
| 123 | * const errors: Array<unknown> = [] |
| 124 | * const testConsole: Console.Console = Object.assign(Object.create(console), { |
| 125 | * assert: (condition: boolean, ...args: ReadonlyArray<unknown>) => { |
searching dependent graphs…