Skip to main content

Categories: Datatype, Variant Type

IS_TIME Preview

Returns TRUE if the input expression is a VARIANT<TIME>.

Syntax

IS_TIME(value VARIANT) → BOOLEAN

  • value: The VARIANT value to check.

Examples

IS_TIME example
SELECT IS_TIME(TO_VARIANT(CURRENT_TIME))
-- TRUE
IS_TIME example
SELECT IS_TIME(TO_VARIANT('12:30:00'))
-- FALSE

Usage Notes

NULL handling for VARIANT inputs

If the input is SQL NULL (e.g., from a missing path), IS_TIME returns NULL.

InputResult
VARIANT timeTRUE
VARIANT other typeFALSE
VARIANT nullFALSE
SQL NULLNULL