Home Reference Source Test
public class | source

RethinkObject

Method Summary

Public Methods
public

validate(schema: *): boolean

Validates this RethinkObject against the provided schema.

Public Methods

public validate(schema: *): boolean source

Validates this RethinkObject against the provided schema.

LIMITATIONS: The provided schema cannot contain references to other schemas, since they can't be resolved.

Params:

NameTypeAttributeDescription
schema *

schema to validate against

Return:

boolean

true if valid, false otherwise