isFalsey function

Is a value falsey according to Mustache specifications?

Is a value falsey according to Mustache specifications?

This function is used to test a value before rendering

isFalsey(x)

Arguments

  • x: value

Returns

TRUE if falsey, otherwise FALSE