Skip to content

Profectus / features/feature / isHidden

Function: isHidden() ​

isHidden(visibility): boolean

Utility function for determining if a visibility value is Visibility.Hidden. Booleans are allowed but will never be considered to be Visible.Hidden.

Parameters ​

visibility ​

MaybeRef<boolean | Visibility>

The ref to either a visibility value or boolean

Returns ​

boolean

True if the visibility is Visibility.Hidden

Defined in ​

profectus/src/features/feature.ts:43