Is the value field of a QuoteNode public? The docstring does not mention the value field. I just wrote the following function, but I’m not sure if using the value field means that I’m accessing internals.
function is_symbol(ex)
ex isa Symbol || (
ex isa QuoteNode &&
ex.value isa Symbol
)
end