ReadonlyrawThe underlying identifier; use it whenever you need the plain representation back.
whether this is the ... argument or one of its accesses (..1, ..2, ...)
whether the identifier reaches for an internal object (:::), undefined if it says nothing about it
whether the identifier names its package, i.e. whether it carries a namespace
the name part, so the fn of a pkg::fn
the namespace part, undefined for a name written without one
Whether both name the very same thing, namespace and ::: flag included.
Serializes to the underlying identifier, so a view is interchangeable with one in JSON output.
Identifier.toString - the valid R spelling, so pkg::fn for a qualified name
An object-oriented read-only view on an Identifier.
The view holds a reference to the identifier it was created from and copies nothing, so it costs one small object and every accessor is a plain read. Serializing it yields the identifier again, so a view may be handed to
JSON.stringifyin its place.The bare Identifier remains the representation that is stored and sent over the wire; create a view where you read one and drop it afterwards rather than keeping one per binding.
Example