You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportfunctionHasPropertyKey<KeyextendsPropertyKey>(value: Record<PropertyKey,unknown>,key: Key): value is Record<PropertyKey,unknown>&{[_inKey]: unknown}{
35
+
returnkeyinvalue
36
+
}
37
+
exportfunctionIsObject(value: unknown): value is Record<PropertyKey,unknown>{
38
+
returntypeofvalue==='object'&&value!==null
39
+
}
40
+
exportfunctionIsArray(value: unknown): value is unknown[]{
41
+
returnglobalThis.Array.isArray(value)
42
+
}
43
+
exportfunctionIsString(value: unknown): value is string{
0 commit comments