Function validateFieldType

  • Validate fieldType:

    • The name has to be a valid mongo key
    • If it is LIST there must be at least 2 options

    Parameters

    Returns boolean

Generated using TypeDoc