CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)
Search

Member predicate ReactComponent::hasDefaultProps

Holds if this component specifies default values for (some of) its props.

predicate hasDefaultProps()