(condition: boolean, ...args: ReadonlyArray<any>)
| 139 | * @since 2.0.0 |
| 140 | */ |
| 141 | export const assert = (condition: boolean, ...args: ReadonlyArray<any>): Effect.Effect<void> => |
| 142 | consoleWith((console) => |
| 143 | effect.sync(() => { |
| 144 | console.assert(condition, ...args) |
| 145 | }) |
| 146 | ) |
| 147 | |
| 148 | /** |
| 149 | * Runs the current console service's clear operation. |