TOC Toolkit API - v0.1.0
    Preparing search index...
    • Returns a value that the surrounding code guarantees to be present, and throws when the value is missing. Input from outside the program is checked by a decoder or a parser. This function is for a lookup that cannot miss, which an indexed type does not express.

      Type Parameters

      • T

      Parameters

      • value: Maybe<T>
      • message: string

      Returns NonNullable<T>