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

    Function assertNever

    • The function can be used to make sure that a particular type is never at some point in the code.

      Basically that means that all other options are exhaustively handled earlier and the assertion should make sure that an unhandled case is not introduced in the future.

      Parameters

      • value: never

      Returns never