# ParameterResource.tryGetCurrentValue

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Defined on: [ParameterResource](/reference/api/typescript/aspire.hosting/parameterresource.md)
- Version: `17.0.0`
- Kind: `method`

Gets the current value for this parameter without waiting for unresolved input.

## Definition

```typescript
interface ParameterResource {
  // ... omitted for brevity
  tryGetCurrentValue(): string;
}
```

## Signature

```typescript
tryGetCurrentValue(): string
```

## Returns

`string`

## Defined on

- [ParameterResource](/reference/api/typescript/aspire.hosting/parameterresource.md) -- `handle`
