Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...

    Type Alias Result<T>

    A result of modulo arithmetic.

    type Result<T> = {
        overflow: boolean;
        value: T;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    overflow: boolean

    Was there an overflow/underflow?

    value: T

    What's the value after the operation.