# assertGreaterThan Source: https://smartassertions.dev/assertions/assertGreaterThan/ Index of every page: https://smartassertions.dev/llms.txt Assert that a numeric value is greater than the expected value, with type-narrowing. ## Usage ```ts import { assertGreaterThan } from "@kensio/smartass"; const elapsed: unknown = 120; assertGreaterThan(elapsed, 0); // elapsed is now narrowed to number | bigint ``` ## Source Source file: [`src/assert/greater-than/greater-than.assert.ts`](https://github.com/KensioSoftware/smartass/blob/main/src/assert/greater-than/greater-than.assert.ts)