Documentation - v19.12.0-dev
    Preparing search index...
    • Asserts that the given value is neither null nor undefined, narrowing its type accordingly.

      Type Parameters

      • T

      Parameters

      • value: T

        The value to check.

      • Optionalmessage: string

        Optional custom error message.

      Returns asserts value is NonNullable<T>