ID:2177902
 
Resolved
min(item) and max(item) returned null if the item was not a list, when they should have returned the item instead.
BYOND Version:509
Operating System:N/A
Web Browser:N/A
Applies to:Dream Daemon
Status: Resolved (512.1448)

This issue has been resolved.
If a single non-list item is provided to min/max, can that single item be returned? Currently, null is returned if a single non-list item is provided.

min("hi") // returns null
pick("hi") // returns "hi"


This new behavior would be similar to the behavior of pick().
Good idea.
Lummox JR resolved issue with message:
min(item) and max(item) returned null if the item was not a list, when they should have returned the item instead.