ahead`foo`
ahead.exactly`foo`
ahead('foo')
RegExp equivalent:
/(?=foo)/
Negated token - Negative lookahead
notAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Wrap the given token in a positive lookahead.
Rest
...args: unknown[]ahead`foo`
ahead.exactly`foo`
ahead('foo')
RegExp equivalent:
/(?=foo)/
Negated token - Negative lookahead
notAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Wrap the given token in a positive lookahead.
Optional
node: RegExpTokenahead`foo`
ahead.exactly`foo`
ahead('foo')
RegExp equivalent:
/(?=foo)/
Negated token - Negative lookahead
notAhead`foo`
not.ahead`foo`
notAhead.exactly`foo`
notAhead('foo')
RegExp equivalent:
/(?!foo)/
Generated using TypeDoc
Wrap the given token in a positive lookahead.