Function isAssetIdStub

  • Checks whether or not the given source is an asset ID stub (an object containing an _id property)

    Parameters

    • stub: unknown

      Possible asset id stub

    Returns stub is SanityAssetIdStub

    Whether or not the passed object is an object id stub