// Current:
text2num("10") // -> 10
text2num( 10 ) // -> 10
text2path("/obj") // -> /obj
text2path( /obj ) // -> null
// Desired:
text2path( /obj ) // -> /obj
ID:2406672
Oct 20 2018, 3:01 pm (Edited on Oct 21 2018, 3:50 pm)
|
|||||||
| |||||||
It would help keep code simple if text2path behaved like text2num, passing through values that are already the desired type.
|