rand

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Code generated by define_gene; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed math_rand.d.ts
	MathRandDefine   []byte
	MathRandDeclared = map[string]any{
		"float64":     rand.Float64,
		"int31n":      rand.Int31n,
		"perm":        rand.Perm,
		"seed":        rand.Seed,
		"shuffle":     rand.Shuffle,
		"expFloat64":  rand.ExpFloat64,
		"float32":     rand.Float32,
		"int":         rand.Int,
		"normFloat64": rand.NormFloat64,
		"newZipf":     rand.NewZipf,
		"read":        rand.Read,
		"uint64":      rand.Uint64,
		"int31":       rand.Int31,
		"int63":       rand.Int63,
		"New":         rand.New,
		"newSource":   rand.NewSource,
		"uint32":      rand.Uint32,
		"int63n":      rand.Int63n,
		"intn":        rand.Intn,

		"emptyRand":    engine.Empty[rand.Rand],
		"emptyRefRand": engine.EmptyRefer[rand.Rand],
		"refOfRand":    engine.ReferOf[rand.Rand],
		"unRefRand":    engine.UnRefer[rand.Rand]}
)

Functions

This section is empty.

Types

type MathRandModule

type MathRandModule struct{}

func (MathRandModule) Exports

func (S MathRandModule) Exports() map[string]any

func (MathRandModule) Identity

func (S MathRandModule) Identity() string

func (MathRandModule) TypeDefine

func (S MathRandModule) TypeDefine() []byte

Jump to

Keyboard shortcuts

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