• Blog
  • Changelog
  • Follow us on GitHubFollow us on XJoin our Discord server
  • Blog
  • GitHub
  • Releases
  • Getting started

    • Quickstart
  • Library

    • Result
    • Type
    • Dependency injection
    • Conventions
  • Local-first

    • Examples
    • Protocol
    • Relay
    • Owner
    • Indexes
    • Migrations
    • Patterns
    • Time travel
    • Privacy
    • FAQ
  • Other

    • API reference
    • Comparison
    • Showcase
    • Changelog

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

ParameterType
maxMax

Returns

BrandFactory<`LessThanOrEqualTo${Max}`, number, LessThanOrEqualToError<Max>>

Was this page helpful?

© Copyright 2025. All rights reserved.

Follow us on GitHubFollow us on XJoin our Discord server