We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
igop repl add pythonic built-in functions . rtype eval ...
rtype eval ...
rtype(x interface{}) Type can be compared two Type
rtype(x interface{}) Type
//rtypeMap = make(map[Type]reflect.Type) type Type string func (Type) Type() reflect.Type func (Type) Kind() reflect.Kind
>>> rtype(100) == rtype(200) true >>> rtype(100) == "int" true
eavl(expr string) (interface{},error)
similar igop copy current context vars to new context and run. return context ret interface{}/[]interface{} , error
>>> a := 10 >>> eval("a+1") 11,nil >>>
dir dir ?
dir
vars vars?
vars
The text was updated successfully, but these errors were encountered:
No branches or pull requests
igop repl add pythonic built-in functions .
rtype eval ...
rtype(x interface{}) Type
can be compared two Typeeavl(expr string) (interface{},error)
dir
dir
?vars
vars
?The text was updated successfully, but these errors were encountered: