closed_function_names
Stable function · Expressions
Tier: stable · Kind: function · Topic: Expressions
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
closed_function_names | closedFunctionNames | not exported | closed_function_names | ClosedFunctionNames |
Julia
closed_function_names()
closed_function_names() -> Set{String}
Return the v0.3.0 closed function set. Bindings MUST reject any fn-op
name not in this set. The set is intentionally narrow; new entries
require a spec rev (esm-spec §9.1).
TypeScript
function closedFunctionNames(): readonly string[]
Names that bindings MUST recognize (derived from the dispatch table keys).
A FUNCTION, matching Julia’s closed_function_names(), Rust’s
closed_function_names() and Go’s ClosedFunctionNames() — API_SPEC.md §8
item 4. TypeScript alone exposed this as a constant array, so a caller
writing binding-agnostic code had to special-case it.
Python
Python does not export this function.
Rust
pub fn closed_function_names() -> &'static HashSet<String>
The closed function set. Bindings MUST reject any fn-op name
not in this set (esm-spec §9.1). Derived from CLOSED_FUNCTIONS.