Express Sweet API Reference - v3.0.0
    Preparing search index...
    • Check that it is not empty. If the value is an array, returns true if there is an element. If the value is a string, the leading and trailing spaces are trimmed and then checked.

      Parameters

      • value: any

        Character strings, arrays, objects, etc. to be checked.

      Returns boolean

      Returns true if the value is not empty, false otherwise.

      {{notEmpty val}}
      {{#if (notEmpty val)}}...{{/if}}