File: hasForbidden.R

package info (click to toggle)
r-cran-paramhelpers 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 992 kB
  • sloc: ansic: 102; sh: 13; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#' Check parameter set for forbidden region.
#'
#' @template arg_parset
#' @return `logical(1)`.
#' @export
hasForbidden = function(par.set) {
  assertClass(par.set, "ParamSet")
  return(!is.null(par.set$forbidden))
}