# greaterThan Source: https://smartassertions.dev/matchers/greaterThan/ Index of every page: https://smartassertions.dev/llms.txt Matcher for a numeric value greater than the given value. Matchers are applied through assertObjectMatches, where they narrow the corresponding property type. ## Usage ```ts import { assertObjectMatches, greaterThan } from "@kensio/smartass"; const value: unknown = { score: 85, }; assertObjectMatches(value, { score: greaterThan(0), }); // value is now narrowed to an object with a positive numeric score // { // score: number | bigint; // } ``` ## Source Source file: [`src/assert/greater-than/greater-than.match.ts`](https://github.com/KensioSoftware/smartass/blob/main/src/assert/greater-than/greater-than.match.ts)