google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.31k stars 210 forks source link

Anyway to check if a variable or functions exists in current environment? #481

Closed RingoLife closed 1 year ago

RingoLife commented 1 year ago

Without getting fail

adonovan commented 1 year ago

No. See https://github.com/google/starlark-go/issues/479#issuecomment-1596255661. I suggest you comment on that thread.