Methods |
public
static
|
nullOrString(mixed $value, string $message = '')
|
#
|
public
static
|
allString(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrStringNotEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
allStringNotEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrInteger(mixed $value, string $message = '')
|
#
|
public
static
|
allInteger(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIntegerish(mixed $value, string $message = '')
|
#
|
public
static
|
allIntegerish(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrFloat(mixed $value, string $message = '')
|
#
|
public
static
|
allFloat(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrNumeric(mixed $value, string $message = '')
|
#
|
public
static
|
allNumeric(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrNatural(mixed $value, string $message = '')
|
#
|
public
static
|
allNatural(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrBoolean(mixed $value, string $message = '')
|
#
|
public
static
|
allBoolean(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrScalar(mixed $value, string $message = '')
|
#
|
public
static
|
allScalar(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrObject(mixed $value, string $message = '')
|
#
|
public
static
|
allObject(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrResource(mixed $value, string|null $type = null, string $message = '')
|
#
|
public
static
|
allResource(mixed $value, string|null $type = null, string $message = '')
|
#
|
public
static
|
nullOrIsCallable(mixed $value, string $message = '')
|
#
|
public
static
|
allIsCallable(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIsArray(mixed $value, string $message = '')
|
#
|
public
static
|
allIsArray(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIsTraversable(mixed $value, string $message = '')
Deprecated
use "isIterable" or "isInstanceOf" instead
Throws
|
#
|
public
static
|
allIsTraversable(mixed $value, string $message = '')
Deprecated
use "isIterable" or "isInstanceOf" instead
Throws
|
#
|
public
static
|
nullOrIsArrayAccessible(mixed $value, string $message = '')
|
#
|
public
static
|
allIsArrayAccessible(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIsCountable(mixed $value, string $message = '')
|
#
|
public
static
|
allIsCountable(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIsIterable(mixed $value, string $message = '')
|
#
|
public
static
|
allIsIterable(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIsInstanceOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
allIsInstanceOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
nullOrNotInstanceOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
allNotInstanceOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
nullOrIsInstanceOfAny(mixed $value, array<object|string> $classes, string $message = '')
|
#
|
public
static
|
allIsInstanceOfAny(mixed $value, array<object|string> $classes, string $message = '')
|
#
|
public
static
|
nullOrIsAOf<ExpectedType is object>(null|object|string $value, string $class, string $message = '')
|
#
|
public
static
|
allIsAOf<ExpectedType is object>(iterable<object|string> $value, string $class, string $message = '')
|
#
|
public
static
|
nullOrIsNotA<UnexpectedType is object>(null|object|string $value, string $class, string $message = '')
|
#
|
public
static
|
allIsNotA<UnexpectedType is object>(iterable<object|string> $value, string $class, string $message = '')
|
#
|
public
static
|
nullOrIsAnyOf(null|object|string $value, string[] $classes, string $message = '')
|
#
|
public
static
|
allIsAnyOf(iterable<object|string> $value, string[] $classes, string $message = '')
|
#
|
public
static
|
nullOrIsEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
allIsEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrNotEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
allNotEmpty(mixed $value, string $message = '')
|
#
|
public
static
|
allNull(mixed $value, string $message = '')
|
#
|
public
static
|
allNotNull(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrTrue(mixed $value, string $message = '')
|
#
|
public
static
|
allTrue(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrFalse(mixed $value, string $message = '')
|
#
|
public
static
|
allFalse(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrNotFalse(mixed $value, string $message = '')
|
#
|
public
static
|
allNotFalse(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIp(mixed $value, string $message = '')
|
#
|
public
static
|
allIp(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIpv4(mixed $value, string $message = '')
|
#
|
public
static
|
allIpv4(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrIpv6(mixed $value, string $message = '')
|
#
|
public
static
|
allIpv6(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrEmail(mixed $value, string $message = '')
|
#
|
public
static
|
allEmail(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrUniqueValues(null|array $values, string $message = '')
|
#
|
public
static
|
allUniqueValues(iterable<array> $values, string $message = '')
|
#
|
public
static
|
nullOrEq(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
allEq(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
nullOrNotEq(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
allNotEq(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
nullOrSame(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
allSame(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
nullOrNotSame(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
allNotSame(mixed $value, mixed $expect, string $message = '')
|
#
|
public
static
|
nullOrGreaterThan(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
allGreaterThan(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
nullOrGreaterThanEq(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
allGreaterThanEq(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
nullOrLessThan(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
allLessThan(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
nullOrLessThanEq(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
allLessThanEq(mixed $value, mixed $limit, string $message = '')
|
#
|
public
static
|
nullOrRange(mixed $value, mixed $min, mixed $max, string $message = '')
|
#
|
public
static
|
allRange(mixed $value, mixed $min, mixed $max, string $message = '')
|
#
|
public
static
|
nullOrOneOf(mixed $value, array $values, string $message = '')
|
#
|
public
static
|
allOneOf(mixed $value, array $values, string $message = '')
|
#
|
public
static
|
nullOrInArray(mixed $value, array $values, string $message = '')
|
#
|
public
static
|
allInArray(mixed $value, array $values, string $message = '')
|
#
|
public
static
|
nullOrContains(null|string $value, string $subString, string $message = '')
|
#
|
public
static
|
allContains(iterable<string> $value, string $subString, string $message = '')
|
#
|
public
static
|
nullOrNotContains(null|string $value, string $subString, string $message = '')
|
#
|
public
static
|
allNotContains(iterable<string> $value, string $subString, string $message = '')
|
#
|
public
static
|
nullOrNotWhitespaceOnly(null|string $value, string $message = '')
|
#
|
public
static
|
allNotWhitespaceOnly(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrStartsWith(null|string $value, string $prefix, string $message = '')
|
#
|
public
static
|
allStartsWith(iterable<string> $value, string $prefix, string $message = '')
|
#
|
public
static
|
nullOrNotStartsWith(null|string $value, string $prefix, string $message = '')
|
#
|
public
static
|
allNotStartsWith(iterable<string> $value, string $prefix, string $message = '')
|
#
|
public
static
|
nullOrStartsWithLetter(mixed $value, string $message = '')
|
#
|
public
static
|
allStartsWithLetter(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrEndsWith(null|string $value, string $suffix, string $message = '')
|
#
|
public
static
|
allEndsWith(iterable<string> $value, string $suffix, string $message = '')
|
#
|
public
static
|
nullOrNotEndsWith(null|string $value, string $suffix, string $message = '')
|
#
|
public
static
|
allNotEndsWith(iterable<string> $value, string $suffix, string $message = '')
|
#
|
public
static
|
nullOrRegex(null|string $value, string $pattern, string $message = '')
|
#
|
public
static
|
allRegex(iterable<string> $value, string $pattern, string $message = '')
|
#
|
public
static
|
nullOrNotRegex(null|string $value, string $pattern, string $message = '')
|
#
|
public
static
|
allNotRegex(iterable<string> $value, string $pattern, string $message = '')
|
#
|
public
static
|
nullOrUnicodeLetters(mixed $value, string $message = '')
|
#
|
public
static
|
allUnicodeLetters(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrAlpha(mixed $value, string $message = '')
|
#
|
public
static
|
allAlpha(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrDigits(null|string $value, string $message = '')
|
#
|
public
static
|
allDigits(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrAlnum(null|string $value, string $message = '')
|
#
|
public
static
|
allAlnum(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrLower(null|string $value, string $message = '')
|
#
|
public
static
|
allLower(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrUpper(null|string $value, string $message = '')
|
#
|
public
static
|
allUpper(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrLength(null|string $value, int $length, string $message = '')
|
#
|
public
static
|
allLength(iterable<string> $value, int $length, string $message = '')
|
#
|
public
static
|
nullOrMinLength(null|string $value, int|float $min, string $message = '')
|
#
|
public
static
|
allMinLength(iterable<string> $value, int|float $min, string $message = '')
|
#
|
public
static
|
nullOrMaxLength(null|string $value, int|float $max, string $message = '')
|
#
|
public
static
|
allMaxLength(iterable<string> $value, int|float $max, string $message = '')
|
#
|
public
static
|
nullOrLengthBetween(null|string $value, int|float $min, int|float $max, string $message = '')
|
#
|
public
static
|
allLengthBetween(iterable<string> $value, int|float $min, int|float $max, string $message = '')
|
#
|
public
static
|
nullOrFileExists(mixed $value, string $message = '')
|
#
|
public
static
|
allFileExists(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrFile(mixed $value, string $message = '')
|
#
|
public
static
|
allFile(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrDirectory(mixed $value, string $message = '')
|
#
|
public
static
|
allDirectory(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrReadable(null|string $value, string $message = '')
|
#
|
public
static
|
allReadable(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrWritable(null|string $value, string $message = '')
|
#
|
public
static
|
allWritable(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrClassExists(mixed $value, string $message = '')
|
#
|
public
static
|
allClassExists(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrSubclassOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
allSubclassOf<ExpectedType is object>(mixed $value, string|object $class, string $message = '')
|
#
|
public
static
|
nullOrInterfaceExists(mixed $value, string $message = '')
|
#
|
public
static
|
allInterfaceExists(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrImplementsInterface<ExpectedType is object>(mixed $value, mixed $interface, string $message = '')
|
#
|
public
static
|
allImplementsInterface<ExpectedType is object>(mixed $value, mixed $interface, string $message = '')
|
#
|
public
static
|
nullOrPropertyExists(null|string|object $classOrObject, mixed $property, string $message = '')
|
#
|
public
static
|
allPropertyExists(iterable<string|object> $classOrObject, mixed $property, string $message = '')
|
#
|
public
static
|
nullOrPropertyNotExists(null|string|object $classOrObject, mixed $property, string $message = '')
|
#
|
public
static
|
allPropertyNotExists(iterable<string|object> $classOrObject, mixed $property, string $message = '')
|
#
|
public
static
|
nullOrMethodExists(null|string|object $classOrObject, mixed $method, string $message = '')
|
#
|
public
static
|
allMethodExists(iterable<string|object> $classOrObject, mixed $method, string $message = '')
|
#
|
public
static
|
nullOrMethodNotExists(null|string|object $classOrObject, mixed $method, string $message = '')
|
#
|
public
static
|
allMethodNotExists(iterable<string|object> $classOrObject, mixed $method, string $message = '')
|
#
|
public
static
|
nullOrKeyExists(null|array $array, string|int $key, string $message = '')
|
#
|
public
static
|
allKeyExists(iterable<array> $array, string|int $key, string $message = '')
|
#
|
public
static
|
nullOrKeyNotExists(null|array $array, string|int $key, string $message = '')
|
#
|
public
static
|
allKeyNotExists(iterable<array> $array, string|int $key, string $message = '')
|
#
|
public
static
|
nullOrValidArrayKey(mixed $value, string $message = '')
|
#
|
public
static
|
allValidArrayKey(mixed $value, string $message = '')
|
#
|
public
static
|
nullOrCount(null|Countable|array $array, int $number, string $message = '')
|
#
|
public
static
|
allCount(iterable<Countable|array> $array, int $number, string $message = '')
|
#
|
public
static
|
nullOrMinCount(null|Countable|array $array, int|float $min, string $message = '')
|
#
|
public
static
|
allMinCount(iterable<Countable|array> $array, int|float $min, string $message = '')
|
#
|
public
static
|
nullOrMaxCount(null|Countable|array $array, int|float $max, string $message = '')
|
#
|
public
static
|
allMaxCount(iterable<Countable|array> $array, int|float $max, string $message = '')
|
#
|
public
static
|
nullOrCountBetween(null|Countable|array $array, int|float $min, int|float $max, string $message = '')
|
#
|
public
static
|
allCountBetween(iterable<Countable|array> $array, int|float $min, int|float $max, string $message = '')
|
#
|
public
static
|
nullOrIsList(mixed $array, string $message = '')
|
#
|
public
static
|
allIsList(mixed $array, string $message = '')
|
#
|
public
static
|
nullOrIsNonEmptyList(mixed $array, string $message = '')
|
#
|
public
static
|
allIsNonEmptyList(mixed $array, string $message = '')
|
#
|
public
static
|
nullOrIsMap<T>(mixed $array, string $message = '')
|
#
|
public
static
|
allIsMap<T>(mixed $array, string $message = '')
|
#
|
public
static
|
nullOrIsNonEmptyMap<T>(mixed $array, string $message = '')
|
#
|
public
static
|
allIsNonEmptyMap<T>(mixed $array, string $message = '')
|
#
|
public
static
|
nullOrUuid(null|string $value, string $message = '')
|
#
|
public
static
|
allUuid(iterable<string> $value, string $message = '')
|
#
|
public
static
|
nullOrThrows(null|Closure $expression, string $class = 'Exception', string $message = '')
|
#
|
public
static
|
allThrows(iterable<Closure> $expression, string $class = 'Exception', string $message = '')
|
#
|