@svta/common-media-library
Version:
A common library for media playback in JavaScript
22 lines • 446 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTokenField = isTokenField;
/**
* 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
*/
function isTokenField(key) {
return [
'ot',
'sf',
'st',
'e',
'sta',
].includes(key);
}
//# sourceMappingURL=isTokenField.js.map