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