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