Skip to content

Profectus / features/resources/resource / unwrapResource

Function: unwrapResource() ​

unwrapResource(resource): Resource

Utility for unwrapping a resource that may or may not be inside a ref.

Parameters ​

resource ​

MaybeRef<Resource>

Returns ​

Resource

Defined in ​

profectus/src/features/resources/resource.ts:161