Range
in package
Range
Tags
Table of Contents
- $first : mixed
- $last : mixed
- __construct() : mixed
- Initialize range
- includes() : bool
- Test for inclusion in range
Properties
$first
public
mixed
$first
$last
public
mixed
$last
Methods
__construct()
Initialize range
public
__construct(int|float $first, int|float $last) : mixed
Parameters
- $first : int|float
- $last : int|float
Return values
mixed —includes()
Test for inclusion in range
public
includes(int|float $value) : bool
Parameters
- $value : int|float