qtil
advanced-security/qtil-javascript 0.0.3
Search

Member predicate DynamicImportExpr::getImportOptions

Gets the second “argument” to the import expression, that is, the Y in import(X, Y).

For example, gets the { with: { type: "json" }} expression in the following:

import('foo', { with: { type: "json" }})
Expr getImportOptions()