Function valueToSchema

  • Normalizes value to a provided schema by converting scalars (strings, numbers, booleans) to each other whenever possible and ignoring fields that are not in schema.

    Parameters

    Returns any