list_get_exact: Exact (non-partial) list element lookup by name

View source: R/model_defaults.R

list_get_exactR Documentation

Exact (non-partial) list element lookup by name

Description

Part of the companion-package extension API (used by aisdk.providers and aisdk.console).

Usage

list_get_exact(x, name, default = NULL)

Arguments

x

A list.

name

The exact element name to look up.

default

Value to return when name is absent.

Value

The element value, or default.


aisdk documentation built on May 29, 2026, 9:07 a.m.