ends-with?: func [
"Returns true if the series ends with the value; false otherwise"
series [series!]
value
/local pos
] [
either pos: find/last/tail series value [tail? pos] [false]
]
You need to create an account or log in to post comments to this site.