API reference / @evolu/common / Type / lessThanOrEqualTo
Variable: lessThanOrEqualTo()
const lessThanOrEqualTo: <Max>(
max,
) => BrandFactory<
`LessThanOrEqualTo${Max}`,
number,
LessThanOrEqualToError<Max>
>;
Defined in: packages/common/src/Type.ts:1713
Number ≤ a specified value.
Type Parameters
Type Parameter |
---|
Max extends number |
Parameters
Parameter | Type |
---|---|
max | Max |
Returns
BrandFactory
<`LessThanOrEqualTo${Max}`
, number
, LessThanOrEqualToError
<Max
>>