Documentation - v19.12.0-dev
    Preparing search index...
    • Asserts that a strictly equals b, narrowing the type of a to T.

      Type Parameters

      • T

      Parameters

      • a: unknown

        The value to check.

      • b: T

        The expected value.

      • Optionalmessage: string

        Optional custom error message.

      Returns asserts a is T