Flow PHP

ValueOrder

Read onlyYes
FinalYes

NaN is the largest value and equal to itself, as in the sort order.

Methods

__construct()  : mixed
compare()  : int
lessThan()  : array<int, null|bool>
$lefts[i] < $rights[i] for every i; null where either side is null.
lessThanOrEqual()  : array<int, null|bool>
$lefts[i] <= $rights[i] for every i; null where either side is null.

Methods

__construct()

public __construct(Type ...$operands) : mixed
Parameters
$operands : Type

compare()

public compare(mixed $left, mixed $right) : int
Parameters
$left : mixed
$right : mixed
Return values
int

lessThan()

$lefts[i] < $rights[i] for every i; null where either side is null.

public lessThan(array<int, mixed> $lefts, array<int, mixed> $rights) : array<int, null|bool>
Parameters
$lefts : array<int, mixed>
$rights : array<int, mixed>
Return values
array<int, null|bool>

lessThanOrEqual()

$lefts[i] <= $rights[i] for every i; null where either side is null.

public lessThanOrEqual(array<int, mixed> $lefts, array<int, mixed> $rights) : array<int, null|bool>
Parameters
$lefts : array<int, mixed>
$rights : array<int, mixed>
Return values
array<int, null|bool>
On this page

Search results