Function quickjs_runtime::quickjs_utils::modules::detect_module
source ยท pub fn detect_module(source: &str) -> bool
Expand description
detect if a script is module (contains import or export statements)
pub fn detect_module(source: &str) -> bool
detect if a script is module (contains import or export statements)