Home > @uniformdev/canvas > isAssetParamValue
isAssetParamValue() function
A fast, non-exhaustive guard which checks that the value is an array as well as the first item, if there is one, looks like an asset item
Signature:
declare function isAssetParamValue(value: unknown): value is AssetParamValue;
Parameters
Parameter | Type | Description |
---|---|---|
value | unknown |
Returns:
value is AssetParamValue