typing

package
v1.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(name string, args []object.Object, checks ...CheckFunc) error

Types

type CheckFunc

type CheckFunc func(name string, args []object.Object) error

func ExactArgs

func ExactArgs(n int) CheckFunc

func MinimumArgs

func MinimumArgs(n int) CheckFunc

func RangeOfArgs

func RangeOfArgs(n, m int) CheckFunc

func WithTypes

func WithTypes(types ...object.Type) CheckFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL