Function isAssetUrlStub

  • Checks whether or not the given source is an asset URL stub (an object containing a url property)

    Parameters

    • stub: unknown

      Possible asset url stub

    Returns stub is SanityAssetUrlStub

    Whether or not the passed object is an object url stub