Function joinValues

  • Join values together when next is truthy

    import { joinValues } from 'helping_hand'
    const joined = joinValues(...);

    Parameters

    • prev: string
    • next: string

    Returns string