Spec-Zone.ru › ColdFusion

isEmpty

Returns whether or not a given value is "empty".

isEmpty(value) → returns boolean

  • Lucee
  • BL 1.0.0+
  • See Also: isDefined structKeyExists

    Argument Reference

    value any
    Required

    Examples
    Sample code invoking the isEmpty function

    isEmpty Example

    Returns a boolean based on the given value. Strings, Arrays, Structs and queries are accepted data types.

    isEmpty( {} )

    Expected Result: true

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/isempty

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API