Vinyl
    Preparing search index...
    • Returns a validator that asserts that the object's own enumerable properties has keys and values that match their respective validators.

      Prototype members are not included. Numeric keys are validated as strings. For example the object { [0]: 1 } will be passed to the key validator as '0'.

      To assume string keys, use recordValues

      Type Parameters

      • const K extends string | symbol
      • const V

      Parameters

      Returns RecordSchema<ReadonlyRecord<K, V>>