isStream.lua 403 B

123456789101112131415161718192021
  1. return {
  2. summary = 'Check if the Sound is a stream.',
  3. description = 'Returns whether the Sound is a stream.',
  4. arguments = {},
  5. returns = {
  6. stream = {
  7. type = 'boolean',
  8. description = 'Whether the Sound is a stream.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'stream' }
  15. }
  16. },
  17. related = {
  18. 'Sound:isCompressed',
  19. 'lovr.data.newSound'
  20. }
  21. }