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.
Attempts to coerce
valuetowardtype. Returns the coerced value on success, orundefinedif 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.