functionCallStartAt

Detects where a call may begin, without consuming anything. A call begins either at its own . followed by an identifier character, or at the { of a wrapped call.

Return

whether a function call may begin at index

Parameters

source

text to inspect

index

index to test