{"id":910,"date":"2024-12-13T09:22:20","date_gmt":"2024-12-13T09:22:20","guid":{"rendered":"https:\/\/monkey.ploogie.co.uk\/?page_id=910"},"modified":"2024-12-13T09:24:27","modified_gmt":"2024-12-13T09:24:27","slug":"mnwci-issorted-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mnwci-issorted-function\/","title":{"rendered":"Mwnci issorted() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>issorted<strong>(<em>array<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>issorted()<\/i> function checks the contents of named array is sorted in ascending 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=[1,2,3,4,5,6]\r\nprintln(issorted(a))\r\nb=shuffle(a)\r\nprintln(issorted(b))\r\n\r\ntrue\r\nfalse\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax issorted(array) Description The issorted() function checks the contents of named array is sorted in ascending order. A boolean of true is returned if it is, otherwise false. Example a=[1,2,3,4,5,6] println(issorted(a)) b=shuffle(a) println(issorted(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-910","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/910","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=910"}],"version-history":[{"count":2,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/910\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/910\/revisions\/912"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}