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

TANE_EMBED_OPTION_KEYSconstant

Actual host option keys, checked by the builder.

Import it

import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";

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

Definition

const TANE_EMBED_OPTION_KEYS: string[] = Object.keys({ items: true, seed: true, random: true, weights: true, onPick: true } satisfies Record<keyof TanePickerOptions, boolean>)

Examples

import { TANE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tane/element";
console.log(TANE_EMBED_OPTION_KEYS);
[ 'items', 'seed', 'random', 'weights', 'onPick' ]

What it prints (run when this page was built)

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