Function: hasDuplicateProperty()
function hasDuplicateProperty(
obj: Readonly<JSONObjectExpression>,
key: string
): boolean;
Defined in: _internal/jsonc-helpers.ts:240
Check whether a property name appears more than once in an object.
Parametersโ
objโ
Readonly<JSONObjectExpression>
keyโ
string
Returnsโ
boolean