Function isAssetPathStub

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

    Parameters

    • stub: unknown

      Possible asset path stub

    Returns stub is SanityAssetPathStub

    Whether or not the passed object is an object path stub