{"id":914,"date":"2024-12-13T09:27:08","date_gmt":"2024-12-13T09:27:08","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=914"},"modified":"2024-12-13T09:37:37","modified_gmt":"2024-12-13T09:37:37","slug":"mwnci-isrsorted-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-isrsorted-function\/","title":{"rendered":"Mwnci isrsorted() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>isrsorted<strong>(<em>array<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>isrsorted()<\/i> function checks the contents of the named array is sorted in descending order. A boolean of <i>true<\/i> is returned if it is, otherwise <i>false<\/i>.<\/p>\n<h2>Example<\/h2>\n<pre>\r\na=[6,5,4,3,2,1]\r\nprintln(isrsorted(a))\r\nb=shuffle(a)\r\nprintln(isrsorted(b))\r\n\r\ntrue\r\nfalse\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax isrsorted(array) Description The isrsorted() function checks the contents of the named array is sorted in descending order. A boolean of true is returned if it is, otherwise false. Example a=[6,5,4,3,2,1] println(isrsorted(a)) b=shuffle(a) println(isrsorted(b)) true false<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-914","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=914"}],"version-history":[{"count":5,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/914\/revisions"}],"predecessor-version":[{"id":920,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/914\/revisions\/920"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}