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

    Function tryCoerce

    • Attempts to coerce value toward type. Returns the coerced value on success, or undefined if no applicable coercion exists (the caller falls back to treating this as an ordinary type mismatch). Never throws — a coercion attempt that fails (e.g. an invalid UUID string) is simply not a coercion, not a distinct error.

      Parameters

      Returns unknown