# sometimes

`import { sometimes } from "destack:assert";`

Record that `condition` should become true in some explored run.

```ds title="sometimes"
export function sometimes(name: string, condition: boolean, details?: Details | undefined): void
```

[language/library/src/assert/assert.ds:105:107](https://github.com/destack-sh/destack/blob/main/language/library/src/assert/assert.ds#L105-L107)
