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:

Parameters

ParameterTypeDescription
valueunknown

Returns:

value is AssetParamValue