File: src/Helpers/is_list.php

Recommend this page to a friend!
  Classes of AccountKiller  >  Fuse  >  src/Helpers/is_list.php  >  Download  
File: src/Helpers/is_list.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Fuse
Fuzzy search of arrays using the Bitap algorithm
Author: By
Last change:
Date: 3 years ago
Size: 140 bytes
 

Contents

Class file image Download
<?php namespace Fuse\Helpers;

function
is_list($var)
{
    return
is_array($var) && !array_diff_key($var, array_keys(array_keys($var)));
}


For more information send a message to info at phpclasses dot org.