@kayahr/assert
    Preparing search index...

    Function assertNotMatch

    • Asserts that given value does not match the given regular expression.

      Parameters

      • value: string

        The value to check.

      • regexp: string | RegExp

        The regular expression to match against.

      • Optionalreason: string

        Optional reason added to exception message when assertion fails.

      Returns void

      AssertionError when value matches the regular expression.