-
Notifications
You must be signed in to change notification settings - Fork 1
error_type
Hyomoto edited this page Jun 13, 2021
·
2 revisions
Jump To | Go Back |
Arguments |
---|
Returns: [undefined or Error](undefined or Error)
Returns the type of the provided error. If the value is not an error, undefined will be returned.
var _index = array_binary_search( [ 1, 2, 3 ], "dog" );
if ( error_type( _index ) == ValueNotFound ) { _index = -1; }
Name | Type | Purpose |
---|---|---|
error | [__Error__](__error__) |
The error to check |
Devon Mullane 2020