Skip to content

Support literal values as valid() condition #237

@hueniverse

Description

@hueniverse

Allow using literal values:

var schema = {
    a: 'some string',
    b: true,
    c: /$a/,
    d: new Date(12312312312)
    e: 234
};

Metadata

Metadata

Assignees

Labels

featureNew functionality or improvement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions