Skip to content

@pumpkin-plugins/config API / read / isTable

Function: isTable() ​

isTable(value): value is Table

Defined in: tools/config/src/read.ts:38

Whether a parsed TOML value is a table.

Parameters ​

value ​

unknown

A parsed TOML value.

Returns ​

value is Table

True for plain tables, false for arrays, dates and scalars.

Pumpkin Plugins documentation