• Type guard to narrow a ConditionArgs to a specific variant.

    Returns

    True if the value is the specified kind, with type narrowing

    Type Parameters

    • K extends "Uninitialized" | "TimeAbsolute" | "TimeRelative" | "Triggered" | "Never" | "Always"

    Parameters

    • kind: K

      The discriminant to check for ('TimeAbsolute' or 'TimeRelative')

    • value: ConditionArgs

      The ConditionArgs value to narrow

    Returns value is Object

Generated using TypeDoc