@player-ui/player
Version:
15 lines • 767 B
TypeScript
import type { Node } from "./types";
/**
* Checks if there are templated values in the object
*
* @param obj - The Parsed Object to check to see if we have a template array type for
* @param localKey - The key being checked
*/
export declare function hasTemplateValues(obj: any, localKey: string): any;
/** Check to see if the string is a valid switch key */
export declare function hasSwitchKey(localKey: string): localKey is "staticSwitch" | "dynamicSwitch";
/** Check to see if the string is a valid template key */
export declare function hasTemplateKey(localKey: string): localKey is "template";
/** Get the ID of the Node if there is one */
export declare function getNodeID(node?: Node.Node | null): string | undefined;
//# sourceMappingURL=utils.d.ts.map