-
-
Save mdobson/2f9055d9a682a3e4c2f1 to your computer and use it in GitHub Desktop.
check for stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkForStream(device, streamName) { | |
return Object.keys(device._streams).indexOf(streamName) != -1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment