Skip to main content

namespace_values

Function namespace_values 

Source
pub fn namespace_values(ns: &str) -> &'static [&'static str]
Expand description

Non-callable members a namespace exports as enumerable VALUES — the nested modules and cross-links (timers.promises, assert.strict, path.posix, crypto.subtle). Listed apart from namespace_ctors because they are values rather than constructors; like fs.promises among the ctors, each read resolves through constant before any method thunk is considered.