Skip to content

pandasx / optionContext

Function: optionContext() ​

optionContext<T>(options, fn): T

Defined in: src/core/format.ts:57

Runs fn with temporary options, like with pd.option_context(...).

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
optionsRecord<string, unknown>
fn() => T

Returns ​

T

Released under the MIT License.