function assertNotMatch
assertNotMatch(): voidMake an assertion that actual not match RegExp expected. If match
then throw.
Examples
Example 1
Example 1
import { assertNotMatch } from "@std/assert/assert_not_match"; assertNotMatch("Denosaurus", RegExp(/Raptor/)); // Doesn't throw assertNotMatch("Raptor", RegExp(/Raptor/)); // Throws
Parameters
Return Type
void