- Preparing search index...
- The search index is not available
atomic-fns
- get<T>(key: PropertyKey, obj: T, value?: any): any
-
Parameters
-
key: PropertyKey
-
obj: T
-
Optional
value: any
Returns any
- get<T>(key: PropertyKey[], obj: T, value?: any): any
-
Parameters
-
key: PropertyKey[]
-
obj: T
-
Optional
value: any
Returns any
Check if the attribute is present in the object or return a default value instead.
Returns
The property value or default value.