rtypecontrol

package
v4.12.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckArgTypes

func CheckArgTypes(args []any, argTypes string) error

CheckArgTypes validates that the items in args are of appropriate types. argTypes is a string: "ssi" means the args should be string, string, int. 's': Valid only if string. 'i': Valid only if int, float64, or a string that Atoi() can convert to an int.

func IsValid

func IsValid(t string) bool

func Register

func Register(t string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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