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

[;1m  constant_function(Set, AnySet)[0m

  Creates the function that maps each element of set [;;4mSet[0m onto [;;4m[0m
  [;;4mAnySet[0m.

[;1mExamples[0m

    1> S = sofs:set([a,b]).
    2> E = sofs:from_term(1).
    3> R = sofs:constant_function(S, E).
    4> sofs:to_external(R).
    [{a,1},{b,1}]
