node-dextrin - v0.1.0
    Preparing search index...

    Function validateForEncode

    • Checks value — ordinary JS data about to be encoded — against compiled. Returns the checked (and, if opts.coerce, possibly coerced) value, Validated-wrapped.

      Parameters

      • compiled: Compiled
      • value: unknown
      • registry: export=
      • Optionalopts: { coerce?: boolean } = {}

      Returns Validated