ReadonlybuiltInPrefix: "built-in:"The prefix used for built-in function or operator ids.
Checks if a given node id is a built-in function or operator id by checking if it is a string that starts with the built-in prefix.
Converts a built-in function or operator name or id to a built-in id by prefixing it with the built-in prefix if it is not already a built-in id. This allows us to accept both built-in names and ids in contexts where we want to work with built-in ids.
Readonlyname: "NodeId"Converts a built-in function or operator name to a built-in id by prefixing it with the built-in prefix.
Inverse of fromPkgFn: split a package-function built-in id (built-in:pkg:fn) into its [pkg, fn]
parts, or undefined when id is not one (a non-builtin id, or a bare builtin without a package such as
built-in:print). A package name never contains a :, so the first one separates it from the function.
The type of the id assigned to each node. Branded to avoid problematic usages with other string or numeric types. The default ids are numeric, but we use a branded type to avoid confusion with other numeric types. Custom ids or scoped ids can be strings, but they will be normalized to numbers if they are numeric strings.