Skip to content

Add an easy check to see if "timeline" exists #2579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
robinhoodk17 opened this issue Apr 22, 2025 · 0 comments
Open

Add an easy check to see if "timeline" exists #2579

robinhoodk17 opened this issue Apr 22, 2025 · 0 comments

Comments

@robinhoodk17
Copy link

It would be really useful to check if a timeline exists before calling it with Dialogic.start("timeline")

Add a method that returns true or false depending on if the timeline exists and can be called, such as:
if Dialogic.exists("timeline"):
Dialogic.start("timeline")

Describe alternatives you've considered
Currently, you can get if the timeline exists with, for example, DialogicResourceUtil.get_timeline_resource("timeline") != null but an easy to use method would make this easier to work with. In addition, I imagine that this is something that a lot of people could use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant