Returns an RxJS operator to create a new resource identified by an Accessor or a Resource. It is equivalent to
switchMap(x => of(undefined)) Copy
switchMap(x => of(undefined))
if the stream value is null or undefined and to
null
undefined
switchMap(x => x.create(obj)) Copy
switchMap(x => x.create(obj))
otherwise.
the value for the resource
a function that transforms the source Observable
Generated using TypeDoc
Returns an RxJS operator to create a new resource identified by an Accessor or a Resource. It is equivalent to
if the stream value is
null
orundefined
and tootherwise.