View Source cfclient (cfclient v1.2.1)
Link to this section Summary
Functions
Evaluate variation which returns a boolean.
Evaluate variation which returns a JSON object.
Evaluate variation which returns a number.
Evaluate variation which returns a string.
Link to this section Types
-type config() :: map().
-type target() ::
#{identifier := binary(),
name := binary(),
anonymous => boolean(),
attributes := #{atom() := binary() | atom() | list()} | null}.
Link to this section Functions
-spec bool_variation(binary() | string(), target(), boolean()) -> boolean().
-spec json_variation(binary() | string(), target(), map()) -> map().
-spec number_variation(binary() | list(), target(), number()) -> number().
-spec string_variation(binary() | string(), target(), binary()) -> binary().