isAssignable() function
Type guard for AssignableInterface.
Signature:
declare function isAssignable<T extends ResourceInterface>(resource: T): resource is T & AssignableInterface;
Parameters
Parameter |
Type |
Description |
---|---|---|
resource |
T |
resource is T & AssignableInterface