File: hasForbidden.R

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