import { UvccControls , } from "../types/controls.js" ; import isUvccControlValue from "./is-uvcc-control-value.js" ; export default function isUvccControls ( controlValues ) { return typeof controlValues === "object" && controlValues !== null && Object . entries ( controlValues ) . every ( ( [ controlName , controlValues , ] ) => typeof controlName === "string" && isUvccControlValue ( controlValues ) ) ; }