Method IsVariantsSupported
IsVariantsSupported()
Returns whether the current runtime integration supports template variants.
public static bool IsVariantsSupported()
Returns
- bool
true when a runtime component has registered a variant-support callback and that callback returns true; otherwise, false.
Remarks
When this method returns false, template variant properties intentionally behave as if no variants were authored, even if backing arrays are populated. This lets integrations opt in to variant handling without forcing every backend to expose the same behavior.