Function pickFieldsFromSchema

  • Creates an object schema with fields picked from the source schema.

    Parameters

    • schema: undefined | DataSchema
    • fields: undefined | string[]

    Returns any