Results 1 to 5 of 5

Thread: [CoD2] isArray(var)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts

    [CoD2] isArray(var)

    Since their is no isArray(var)-function in Call of Duty 2, this seems to work fine:

    Code:
    isArray(var)
    {
        return !isString(var) && isDefined(var.size);
    }
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    RobsoN (31st May 2013)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •