Skip to main content

Function.sameSourceStructure

function sameSourceStructure(a:
| {
columns: string[];
format: "csv";
}
| {
format: "json";
paths: string[];
}, b:
| {
columns: string[];
format: "csv";
}
| {
format: "json";
paths: string[];
}): boolean;

Exact structural identity — the auto-detection predicate.

Parameters

ParameterType
a
b

Returns

boolean