Skip to main content

is_core

Function is_core 

Source
pub fn is_core(spec: &str) -> bool
Expand description

Whether spec names a core module of any kind — a method namespace or a data module. This is what require.resolve answers with the bare specifier.