Profectus / features/feature / isVisible
Function: isVisible() ​
isVisible(
visibility
):boolean
Utility function for determining if a visibility value is anything but Visibility.None. Booleans are allowed and false will be considered to be Visibility.None.
Parameters ​
visibility ​
MaybeRef
<boolean
| Visibility
>
The ref to either a visibility value or boolean
Returns ​
boolean
True if the visibility is either true, Visibility.Visible, or Visibility.Hidden