Skip to main content

MATCH_CLASS_NAME

Constant MATCH_CLASS_NAME 

Source
pub const MATCH_CLASS_NAME: &str = "__SmeltMatch";
Expand description

Reserved synthetic class name for a RegExp match result value.

The name is not writable in user TypeScript (double-underscore prefix), so it never collides with a source class; it exists only to carry the concrete match shape through the internal type system.