Check if function has assigend special tags.

Share:

Description

Each single-objective smoof function has tags assigned to it (see getAvailableTags). This little helper returns a vector of assigned tags from a smoof function.

Usage

1
hasTags(fn, tags)

Arguments

fn

[smoof_function] Function of smoof_function, a smoof_generator or a string.

tags

[character]
Vector of tags/properties to check fn for.

Value

[logical(1)]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.