Miscellaneous Helpers

This page documents the miscellaneous handlebars helper expressions available in KX Dashboards templates.

Refer to Apply Templates for details on how to use these expressions.

typeOf

Get the native type of the given value

Parameters:

  • value {any}

Returns {String}: Returns the type of value.

Example:

Handlebars

Copy
{{typeOf 1}}
//=> 'number'
{{typeOf "1"}}
//=> 'string'
{{typeOf "foo"}}
//=> 'string'