[@rxap/form-system](../wiki/globals) / UseHideFunction

# Function: UseHideFunction()

> **UseHideFunction**(`hideFunction`, `options`): (`target`, `propertyKey`) => `void`

Defined in: [packages/angular/form-system/src/lib/directives/control-hide-show.directive.ts:51](https://gitlab.com/rxap/packages/-/blob/36b0e9732b24717840935712e316593ff6aba795/packages/angular/form-system/src/lib/directives/control-hide-show.directive.ts#L51)

## Parameters

### hideFunction

[`ControlHideShowFunction`](../wiki/TypeAlias.ControlHideShowFunction)

### options

[`ControlHideShowOptions`](../wiki/Interface.ControlHideShowOptions) = `{}`

## Returns

`Function`

### Parameters

#### target

`any`

#### propertyKey

`string`

### Returns

`void`
