shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
get
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.object
Retreive an object value using a dotted path like “myObject.myProperty.myValue”
Params
- obj*-Object
The object in which to set the value
- path*-String
The dotted object path to get
Return
- -Mixed
The getted value or “undefined” if nothing found…
Example
import { get } from '@blackbyte/sugar/object';
get(myObject, 'my.cool.value'); // => 'Hello world'Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space