Member predicate ModuleValue::isUsedAsScript
When used (exclusively) as a script (will not include normal modules that can also be run as a script)
predicate isUsedAsScript()
When used (exclusively) as a script (will not include normal modules that can also be run as a script)
predicate isUsedAsScript()