Documentation - v19.12.0-dev
    Preparing search index...
    • Asserts that the given condition is true, throwing otherwise.

      Parameters

      • condition: boolean

        The condition to check.

      • Optionalmessage: string

        Optional custom error message.

      Returns asserts condition