Comparator
FinalYes
Methods
- comparable() : bool
- equals() : bool
- is() : bool
- isAny() : bool
Methods
comparable()
public
comparable(Type<string|int, mixed> $left, Type<string|int, mixed> $right) : bool
Parameters
Return values
boolequals()
public
equals(Type<string|int, mixed> $left, Type<string|int, mixed> $right) : bool
Parameters
Return values
boolis()
public
is(Type<string|int, T> $type, string $typeClass) : bool
Parameters
- $type : Type<string|int, T>
- $typeClass : string
Tags
Return values
boolisAny()
public
isAny(Type<string|int, T> $type, string $typeClass, string ...$typeClasses) : bool
Parameters
- $type : Type<string|int, T>
- $typeClass : string
- $typeClasses : string