• Retrieve the property indicated by the given selector from the object

    Example

    get({ selector: { to: { val: 'val to select' } } }, 'selector.to.val'); // 'val to select'
    

    Type Parameters

    • Value extends Record<string, unknown>

    • Path extends string = never

    Parameters

    • obj: Record<string, unknown>
    • key: Path

    Returns unknown

Generated using TypeDoc