Skip to main content

Try it Live

Run Hardfork examples in the interactive playground

    Operator-Style API

    gt mimics the > operator for clearer code:

    Usage Patterns

    Version Detection

    Network Configuration

    Chronological Ordering

    Uses chronological deployment order:

    Strict Inequality

    Returns false when versions are equal:

    Performance

    Time Complexity: O(1) - Array index comparison Typical Time: ~10-20ns per call

    See Also

    • isAfter - Semantic equivalent
    • gte - Greater than or equal
    • lt - Strictly less than