@svta/common-media-library
Version:
A common library for media playback in JavaScript
19 lines • 339 B
JavaScript
/**
* Checks if the given key is a token field.
*
* @param key - The key to check.
*
* @returns `true` if the key is a token field.
*
* @internal
*/
export function isTokenField(key) {
return [
'ot',
'sf',
'st',
'e',
'sta',
].includes(key);
}
//# sourceMappingURL=isTokenField.js.map