Validate International Securities Identification Number: Difference between revisions

→‎{{header|langur}}: simplified .isintest() function and added comments
m (→‎{{header|langur}}: simplified .isintest function)
(→‎{{header|langur}}: simplified .isintest() function and added comments)
Line 1,629:
return false
}
.luhntest(join ZLS, map f toNumber(cp2s(.c), 36), s2cpsplit ZLS, .s)
 
# used unbounded lists on join(), map(), and split()...
# ... and implied parameters and a single expression on the anonymous function
# same as .luhntest(join(ZLS, map(f(.c) { toNumber(.c, 36) }, split(ZLS, .s))))
}
 
890

edits