Skip to the content

Tane種

Reproduce numbers from a seed, shuffle or pick items, share a daily puzzle and resume a saved stream.

Tane means seed in Japanese. About the name

Contents

Reference · Picker element

TanePickerModetype

The picker modes: sample without replacement, shuffled list or balanced groups.

Import it

import type { TanePickerMode } from "@johnmorrisdotca/tane/element";

Also exported from: @johnmorrisdotca/tane/element/define

Definition

type TanePickerMode = "pick" | "shuffle" | "groups";

Examples

import type { TanePickerMode } from "@johnmorrisdotca/tane/element";
const mode: TanePickerMode = "groups";
console.log(mode);
groups

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/tane 1.3.0.