Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

namereg/v0 package

Function

IsReserved

func IsReserved(stem string) bool
Ask AI Claude ChatGPT

IsReserved reports whether the given alpha stem matches a reserved role name (with implicit `s`-suffix expansion). The check is canonicalized — so `vital1k`-style l-substituted variants of a reserved name are also caught. O(1) backed by `reservedSet` built in init().

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/sys/namereg/v0.IsReserved()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/sys/namereg/v0, for example a function call with arguments.