functional-models
    Preparing search index...

    Interface CommonValidators

    Common property validator choices.

    interface CommonValidators {
        isArray?: boolean;
        isBoolean?: boolean;
        isInteger?: boolean;
        isNumber?: boolean;
        isString?: boolean;
        required?: boolean;
    }
    Index

    Properties

    isArray?: boolean

    Is the property an array of values?

    isBoolean?: boolean

    Is the property only true or false?

    isInteger?: boolean

    Can the property only be an integer?

    isNumber?: boolean

    Can the property only be a number?

    isString?: boolean

    Can the property only be a string?

    required?: boolean

    Is this property required?