Skip to content

validateIds

function validateIds(
entries: readonly {
id?: string
}[],
seen?: HashSet<string>,
): Result<HashSet<string>, InvalidOperation>

Defined in: Tree.ts:139

Check one list of ids, optionally continuing a whole-tree uniqueness check.

Parameter Type
entries readonly { id?: string; }[]
seen? HashSet<string>

Result<HashSet<string>, InvalidOperation>