%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  family(Tuples)[0m

  There is no documentation for family(Tuples, [{atom, [atom]}])

[;1m  family(Tuples, Type)[0m

  Creates a family of subsets.

  [;;4mfamily(F, T)[0m is equivalent to [;;4mfrom_term(F, T)[0m if the result is
  a family.

[;1mExamples[0m

    1> S = sofs:family([{1,[a,b]},{2,[c]}], [{index,[value]}]).
    2> sofs:to_external(sofs:family_to_relation(S)).
    [{1,a},{1,b},{2,c}]
    3> S = sofs:family([{1,[a,b]},{1,[c]}], [{index,[value]}]).
    ** exception error: bad_function
         in function  sofs:family/2
