isSafeObjectEntry | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/stdisSafeObjectEntryFunction isSafeObjectEntryisSafeObjectEntry(entry: readonly [string, unknown]): booleanCheck whether an object's [key, value] entry has a safe property name. Uses isSafePropertyName to check the key. The value is not checked. Parametersentry: readonly [string, unknown][key, value] pair to check Returns booleanWhether the entry's key passes the property name checks Exampleconst entries = Object.entries(obj).filter(isSafeObjectEntry); Copy SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Check whether an object's [key, value] entry has a safe property name. Uses isSafePropertyName to check the key. The value is not checked.