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

[;1m  field(BinRel)[0m

  Returns the field of the binary relation [;;4mBinRel[0m.

[;1mExamples[0m

    1> R = sofs:relation([{1,a},{1,b},{2,b},{2,c}]).
    2> S = sofs:field(R).
    3> sofs:to_external(S).
    [1,2,a,b,c]

  [;;4mfield(R)[0m is equivalent to [;;4munion(domain(R), range(R))[0m.
