CodeQL library for JavaScript
Search

Member predicate CallSignatureType::getNumOptionalParameter

Gets the number of optional parameters, that is, parameters that are marked as optional with the ? suffix or is a rest parameter.

int getNumOptionalParameter()