Table of Contents
-
validateBool()
: bool
-
validateFloat()
: float
-
validateInt()
: int
-
validateProbability()
: float
validateBool()
public
static validateBool(mixed $value) : bool
Parameters
-
$value
: mixed
-
Return values
bool
—
validateFloat()
public
static validateFloat(mixed $value) : float
Parameters
-
$value
: mixed
-
Return values
float
—
validateInt()
public
static validateInt(mixed $value) : int
Parameters
-
$value
: mixed
-
Return values
int
—
validateProbability()
public
static validateProbability(mixed $probability) : float
Parameters
-
$probability
: mixed
-
Return values
float
—