@cto.af/utils - v1.3.6
    Preparing search index...

    Function assert

    • Very simplified assert, which will work in the browser.

      Parameters

      • value: unknown

        Any value that should be truthy.

      • Optionalmessage: string

        Optional message.

      Returns asserts value

      If value is falsy.