Skip to content

Core / macro: select

Functions, types, and exports for Core / macro: select.

Page outline
import { select } from "@palamedes/core/macro"

select<const Options extends {
    other: string;
} & Omit<SelectProps, "value">>(value: string | number, options: SelectOptions<Options>): string

Parameters

NameTypeRequired
valuestring | numberYes
optionsSelectOptions<Options>Yes

Returns

string

Source entry on GitHub

Last updated: November 1, 2026