Function easy_tup

  • Constructs an object containing both positional and named fields.

    Not to be confused with a uoe tuple.

    Parameters

    • Rest ...fields: any[]

    Returns any[]

    Example

    sum_vectors(easy_tup(1, 2), easy_tup(3, 4));
    

    Example

    const person = easy_tup("John", "Doe")({
    age: 30,
    });

Generated using TypeDoc