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