MCPcopy
hub / github.com/iptv-org/iptv / hasLanguage

Method hasLanguage

scripts/models/stream.ts:312–318  ·  view source on GitHub ↗
(language: sdk.Models.Language)

Source from the content-addressed store, hash-verified

310 }
311
312 hasLanguage(language: sdk.Models.Language): boolean {
313 const found = this.getLanguages().find(
314 (_language: sdk.Models.Language) => _language.code === language.code
315 )
316
317 return !!found
318 }
319
320 updateTvgId(): this {
321 if (!this.channel) return this

Callers 1

generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected