isValid() method should support all is..() methods

Description

isValid() doesn’t work with everything.

Like isJSON(). There is no working isValid(“json”, var).

It would be idea if isValid() supported all the available is..() methods.

Environment

None

Activity

Pothys - MitrahSoft 
2 August 2022 at 13:06

I've checked this ticket with lucee latest build 6.0.0.222-SNAPSHOT and now the isvalid() supports JSON & object and it works fine.

Zac Spitzer 
2 August 2022 at 08:49

Zac Spitzer 
28 May 2021 at 11:09

In terms of Lucee objects, locale and timezone are also missing IsValid support and the corresponding isXXX functions

Pothys - MitrahSoft 
28 May 2021 at 10:27

Added a fix to support json and object in isValid() function.

Pull Request:

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 16 October 2015 at 16:40
Updated 2 August 2022 at 13:06
Resolved 2 August 2022 at 13:06