This function determines whether the provided value is of type timeval.
This function does not generate a change.
is_timeval(value)
Argument | Type | Description |
---|---|---|
value | any (required) | The value to be tested. |
Returns true
if the given value is of type timeval
, else false
.
This code shows some return values for is_utf8():
[
is_timeval( timeval(2013, 2, 6) ),
is_timeval( datetime(2013, 2, 6) ),
];
Return value in JSON format
[
true,
false
]