InspectProps
type InspectProps = { name?: string value?: unknown values?: unknown} & Partial<InspectOptions> & SvelteHTMLElements['div']Props for Inspect
Type Declaration
Section titled “Type Declaration”optional name: string;Name of inspected value. Will be displayed as the “key” of the value.
Will not be used if values is set
value?
Section titled “value?”optional value: unknown;Any (single) value of any type to be inspected.
Will not be inspected if BaseProps.values is used
If value is undefined or null without name being set,
the value will not be inspected
values?
Section titled “values?”optional values: unknown;Inspect every enumerable property of a value, object or array-like.
Allows for multiple root-level nodes, unlike value.