isLinkButton
Callable
Parameters
component: APIButtonComponent
The button to check against
Returns component is APIButtonComponentWithURL
A boolean that indicates if the button has a
url
attached to it
The button to check against
A boolean that indicates if the button has a url
attached to it
A type-guard check for buttons that have a
url
attached to them.