Class jExists

  • All Implemented Interfaces:
    JFunctor, JMetaMetaFunctor, JSONFunctor, Serializable

    public class jExists
    extends jStringComparisons
    A functor to test if a string exists.
         $exists[A]
     
    this yields false if A is null or empty. IT yields true otherwise. Note that
         $exists["   "]
     
    (a bunch of blanks) is true. If you wanted to check against a string of blanks you might use something like
         $exists[$trim[A]]
     
    which would remove all the whitspace first.

    Created by Jeff Gaynor
    on 2/27/18 at 1:09 PM

    See Also:
    Serialized Form
    • Constructor Detail

      • jExists

        public jExists()
    • Method Detail

      • execute

        public Object execute()