• It's like join but u get to tell it which keys to join

    Example

    implode([{a: {b: 'first'}}, {a: {b: 'second'}}, {a: {b: 'third'}}], 'a.b', ', ');
    // 'first, second, third'

    Type Parameters

    • Value extends Record<string, unknown>

    • Path extends string = never

    Parameters

    • array: Value[]
    • path: Path
    • Optional separator: string

    Returns string

Generated using TypeDoc