Trait TypeAssertTrait
TypeAssertTrait contains assertions that primarily deal with making assertions about a value's type.
Direct Known Users
Peridot\Leo\Interfaces\Assert
Namespace: Peridot\Leo\Interfaces\Assert
Package: Peridot\Leo\Interfaces\Assert
Located at Interfaces/Assert/TypeAssertTrait.php
Package: Peridot\Leo\Interfaces\Assert
Located at Interfaces/Assert/TypeAssertTrait.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
isCallable( mixed $value, string $message = "" )
Performs a predicate assertion to check if actual value is callable. |
public
|
#
isNotCallable( mixed $value, string $message = "" )
Performs a negated predicate assertion to check if actual value is not a callable. |
public
|
|
public
|
#
isNotObject( mixed $value, string $message = "" )
Perform a negative type assertion for type "object." |
public
|
|
public
|
#
isNotArray( mixed $value, string $message = "" )
Performs a negative type assertion for type "array." |
public
|
|
public
|
#
isNotString( mixed $value, string $message = "" )
Perform a negated type assertion for type "string." |
public
|
|
public
|
#
isNotNumeric( mixed $value, string $message = "" )
Performs a negated predicate assertion to check if actual value is numeric. |
public
|
|
public
|
#
isNotInteger( mixed $value, string $message = "" )
Perform a negated type assertion for type "integer." |
public
|
|
public
|
#
isNotDouble( mixed $value, string $message = "" )
Perform a negated type assertion for type "double." |
public
|
|
public
|
#
isNotResource( mixed $value, string $message = "" )
Perform a negated type assertion for type "resource." |
public
|
|
public
|
#
isNotBoolean( mixed $value, string $message = "" )
Perform a negated type assertion for type "boolean." |