util
util
Generic reusable utility functions and classes.
@quicksave/util
Namespaces
Classes
Type Aliases
Platform
Ƭ Platform: typeof platforms
[number
]
Supported platforms.
Variables
platforms
• Const
platforms: readonly ["FB"
, "VBR"
, "VK"
, "ZOOM"
, "WEB"
]
List of supported platforms.
Functions
isPlatform
▸ isPlatform(tag
): tag is “FB” | “VBR” | “VK” | “ZOOM” | “WEB”
Returns true
if the value matches any of the supported platforms.
Parameters
Name | Type |
---|---|
tag |
any |
Returns
tag is “FB” | “VBR” | “VK” | “ZOOM” | “WEB”