Documentation ¶
Index ¶
- func Contains(iterable starlark.Iterable, target starlark.Value) bool
- func UnpackKwargs(fnname string, kwargs []starlark.Tuple, pairs ...interface{}) error
- func UnpackOneArg(v starlark.Value, ptr interface{}) error
- func UnpackPositionalVarargs(fnname string, args starlark.Tuple, argTypeBin interface{}) (posargs []starlark.Value, err error)
- func UnpackPositionalVarargsString(fnname string, args starlark.Tuple) (posargs []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnpackKwargs ¶
UnpackKwargs copied from go.starlark.net@v0.0.0-20220328144851-d1966c6b9fcd/starlark/unpack.go:93:6
func UnpackOneArg ¶
UnpackOneArg copied from ~/.go/pkg/mod/go.starlark.net@v0.0.0-20220328144851-d1966c6b9fcd/starlark/unpack.go:217:15
func UnpackPositionalVarargs ¶
func UnpackPositionalVarargs(fnname string, args starlark.Tuple, argTypeBin interface{}) (posargs []starlark.Value, err error)
UnpackPositionalVarargs unpacks all positional varargs and returns them, pass an `argTypeBin` if you want to have runtime type-checking, pass `starlark.None` if you don't want to force all varargs to a specific type
func UnpackPositionalVarargsString ¶
func UnpackPositionalVarargsString(fnname string, args starlark.Tuple) (posargs []string, err error)
UnpackPositionalVarargsString unpacks all positional varargs and returns them, pass an `argTypeBin` if you want to have runtime type-checking, pass `starlark.None` if you don't want to force all varargs to a specific type
Types ¶
This section is empty.